Last active
March 17, 2023 18:57
-
-
Save Polkovn1k/2e1aa76084bfacb0c4032d973d73c8d3 to your computer and use it in GitHub Desktop.
Placeholder edit (CSS)
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
.someInput::placeholder { | |
color: red; | |
font-size: 12px; | |
} | |
.someInput:focus::placeholder { | |
color: green; | |
} | |
.someInput:hover::placeholder { | |
color: green; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment