Last active
April 5, 2017 16:27
-
-
Save jondashkyle/671cd1d7ceb42795bfe3661ec9c75234 to your computer and use it in GitHub Desktop.
css tricks
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
/** | |
* hide the cursor in an input field | |
*/ | |
input { | |
color: transparent; | |
text-shadow: 0 0 0 #fff; | |
} | |
/** | |
* blink | |
*/ | |
.blink { | |
animation: blink 500ms steps(1, end) infinite; | |
} | |
@keyframes blink { | |
0% { opacity: 0; } | |
50% { opacity: 1; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment