Created
November 6, 2020 14:45
-
-
Save thiagosf/ec0ba773b30bcf74fc6c39a59d285162 to your computer and use it in GitHub Desktop.
Mixin to change autofill inputs of Chrome
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin changeAutofill { | |
/* Change Autocomplete styles in Chrome*/ | |
input:-webkit-autofill::first-line, | |
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 { | |
@content; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment