Forked from kristofgilicze/terminal-line-cursor-effect.css
Created
June 6, 2022 20:27
-
-
Save sandaruonline/d0f0f42a6e2539db7a24392de8236608 to your computer and use it in GitHub Desktop.
Terminal cursor style blinking dash at the end of the element with pure css
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
.terminal-line-cursor-effect::after { | |
content: ' _'; | |
animation: animate 1.5s linear infinite; | |
} | |
@keyframes animate { | |
0% { | |
opacity: 0; | |
} | |
50% { | |
opacity: 0.7; | |
} | |
100% { | |
opacity: 0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment