Last active
August 29, 2015 13:56
-
-
Save thiagopnts/9282047 to your computer and use it in GitHub Desktop.
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
p { | |
font-family: Consolas, monaco, monospace; | |
} | |
span { | |
border-left: 2px solid; | |
} | |
.cursor { | |
-webkit-animation: blink .75s linear infinite; | |
-moz-animation: blink .75s linear infinite; | |
-ms-animation: blink .75s linear infinite; | |
-o-animation: blink .75s linear infinite; | |
animation: blink .75s linear infinite; | |
} | |
@-webkit-keyframes blink { | |
0% { opacity: 1; } | |
50% { opacity: 1; } | |
50.01% { opacity: 0; } | |
100% { opacity: 0; } | |
} | |
@-moz-keyframes blink { | |
0% { opacity: 1; } | |
50% { opacity: 1; } | |
50.01% { opacity: 0; } | |
100% { opacity: 0; } | |
} | |
@-ms-keyframes blink { | |
0% { opacity: 1; } | |
50% { opacity: 1; } | |
50.01% { opacity: 0; } | |
100% { opacity: 0; } | |
} | |
@-o-keyframes blink { | |
0% { opacity: 1; } | |
50% { opacity: 1; } | |
50.01% { opacity: 0; } | |
100% { opacity: 0; } | |
} | |
@keyframes blink { | |
0% { opacity: 1; } | |
50% { opacity: 1; } | |
50.01% { opacity: 0; } | |
100% { opacity: 0; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment