Created
August 3, 2016 08:02
-
-
Save christoferw/2bf93dc4705ba33dff72aa6510d13d55 to your computer and use it in GitHub Desktop.
Placeholder for Input type: date
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
input[type="date"]:before { | |
content: attr(placeholder) !important; | |
color: #aaa; | |
margin-right: 0.5em; | |
} | |
input[type="date"]:focus:before, | |
input[type="date"]:valid:before { | |
content: ""; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment