Skip to content

Instantly share code, notes, and snippets.

@BurlesonBrad
Forked from jazzido/index.html
Created October 14, 2016 03:35
Show Gist options
  • Save BurlesonBrad/18aa29ada325c5945e27ba370439f55a to your computer and use it in GitHub Desktop.
Save BurlesonBrad/18aa29ada325c5945e27ba370439f55a to your computer and use it in GitHub Desktop.
Glowing text effect with CSS3
<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