Skip to content

Instantly share code, notes, and snippets.

@soham2008xyz
Last active October 26, 2018 22:28
Show Gist options
  • Save soham2008xyz/cec634b9b0862fc2ac5a062b3564005c to your computer and use it in GitHub Desktop.
Save soham2008xyz/cec634b9b0862fc2ac5a062b3564005c to your computer and use it in GitHub Desktop.
Blinking cursor for typed.js
.typed-cursor {
opacity: 1;
-webkit-animation: blink 0.7s infinite;
-moz-animation: blink 0.7s infinite;
animation: blink 0.7s infinite;
}
@keyframes blink {
0% { opacity: 1; }
50% { opacity: 0; }
100% { opacity: 1; }
}
@-webkit-keyframes blink {
0% { opacity: 1; }
50% { opacity: 0; }
100% { opacity: 1; }
}
@-moz-keyframes blink {
0% { opacity: 1; }
50% { opacity: 0; }
100% { opacity: 1; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment