-
-
Save BurlesonBrad/18aa29ada325c5945e27ba370439f55a to your computer and use it in GitHub Desktop.
Glowing text effect with CSS3
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
<html> | |
<head> | |
<style type="text/css"> | |
.glow { | |
-webkit-animation-duration: 1s; | |
-webkit-animation-name: glow; | |
-webkit-animation-direction: alternate; | |
-webkit-animation-iteration-count: infinite; | |
animation-duration: 1s; | |
animation-name: glow; | |
animation-direction: alternate; | |
animation-iteration-count: infinite; | |
} | |
@-webkit-keyframes glow { | |
from { text-shadow: 0 0 0px red; } | |
to { text-shadow: 0 0 20px red; } | |
} | |
</style> | |
</head> | |
<body> | |
<h1 class="glow">GLOW GLOW GLOW</h1> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment