<html>
<head>
<title>CSS Glowing text animaion</title>
</head>
<body>
<ul>
<li>L</li>
<li>O</li>
<li>A</li>
<li>D</li>
<li>I</li>
<li>N</li>
<li>G</li>
</ul>
</body>
</html>
body
{
margin:0;
padding:0;
background:#262626;
}
ul
{
position: absolute;
top:50%;
left:50%;
transform:translate(-50%, -50%);
margin:0;
padding:0;
display: flex;
}
ul li
{
list-style: none;
color: #484848;
font-size: 5em;
font-family: verdana;
letter-spacing: 20px;
animation: animate 1.4s linear infinite;
}
ul li:nth-child(1)
{
animation-delay: 0.2s;
}
ul li:nth-child(2)
{
animation-delay: 0.4s;
}
ul li:nth-child(3)
{
animation-delay: 0.6s;
}
ul li:nth-child(4)
{
animation-delay: 0.8s;
}
ul li:nth-child(5)
{
animation-delay: 1s;
}
ul li:nth-child(6)
{
animation-delay: 1.2s;
}
ul li:nth-child(7)
{
animation-delay: 1.4s;
}
@keyframes animate
{
0%
{
color: #484848;
text-shadow: none;
transform: scale(1);
}
90%
{
color: #484848;
text-shadow: none;
transform: scale(1);
}
100%
{
color: #fff900;
text-shadow: 0 0 7px #fff900, 0 0 50px #ff6c00;
transform: scale(1.5);
}
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.