Skip to content

Instantly share code, notes, and snippets.

@jazzido
Last active January 10, 2022 03:52
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save jazzido/5566127 to your computer and use it in GitHub Desktop.
Save jazzido/5566127 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