Created
October 22, 2014 22:52
-
-
Save madkap/00da6661cd82f8f018bd to your computer and use it in GitHub Desktop.
blinking cursor
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
// from http://codepen.io/ArtemGordinsky/pen/GnLBq | |
// using http://bourbon.io/docs/#animation | |
@include keyframes(blink) { | |
from, to { | |
color: transparent; | |
} | |
50% { | |
color: black; | |
} | |
} | |
.blink-cursor { | |
&:before{ | |
content: '|'; | |
@include animation(blink 1s step-end infinite); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment