Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to turn off user agent stylesheet in chrome

I was found this topic chrome : how to turn off user agent stylesheet settings? but it can't be help for me.

In the Firefox, it's display: firefox preview

In the Chrome, it's display: chrome preview

Chrome automatic add UA Style Sheet:

enter image description here

so my icons can not display .

How to turn off it.?

like image 865
Code Metal Avatar asked Nov 10 '22 15:11

Code Metal


1 Answers

try that option

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus
input:-webkit-autofill, 
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px rgba(0, 0, 0, 0) inset !important;
  transition: background-color 5000s ease-in-out 0s !important;
}
@-webkit-keyframes autofill {
        to {
            background: transparent;
        }
    }

    input:-webkit-autofill,
    input:-webkit-autofill:hover, 
    input:-webkit-autofill:focus, 
    textarea:-webkit-autofill,
    textarea:-webkit-autofill:hover,
    textarea:-webkit-autofill:focus,
    select:-webkit-autofill,
    select:-webkit-autofill:hover,
    select:-webkit-autofill:focus {
        -webkit-animation-name: autofill;
        -webkit-animation-fill-mode: both;
    }
like image 72
Satdae Ángeles Avatar answered Jan 04 '23 03:01

Satdae Ángeles