Last active
August 29, 2015 14:22
-
-
Save frebro/0a5568ce80e48a90b488 to your computer and use it in GitHub Desktop.
Different colors for input text and cursor on WebKit
This file contains 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
@media screen and (-webkit-min-device-pixel-ratio: 0) | |
input[type='text'] { | |
color: salmon; | |
text-shadow: 0 0 0 teal; | |
-webkit-text-fill-color: transparent; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment