Create Glowing Dots Loading Animation Using CSS and HTML
Glowing.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>My Glowing Dots</title>
<link rel="stylesheet" href="style1.css" type="text/css">
</head>
<body>
<ul>
<li>C</li>
<li>O</li>
<li>D</li>
<li>E</li>
<li>W</li>
<li>I</li>
<li>T</li>
<li>T</li>
<li>S</li>
<li>U</li>
<li>N</li>
<li>N</li>
<li>Y</li>
</ul>
</body>
</html>
style1.css
*{
margin:0;
padding: 0;
background: #77726F;
}
ul{
position: absolute;
top: 50%;
left:50%;
transform: translate(-50%,-50%);
display: flex;
margin: 0;
padding: 0;
}
ul li
{
list-style: none;
width: 40px;
height: 40px;
background: #fff;
border-radius: 50%;
animation: ani 3s ease-in-out infinite;
}
@keyframes ani {
0%, 40%, 100%
{
transform: scale(0.2);
}
20%
{
transform: scale(0.6);
}
}
ul li:nth-child(1)
{
animation-delay: -2.8s;
background: #FF9933;
box-shadow: 0 0 50px #FF9933;
}
ul li:nth-child(2)
{
animation-delay: -2.6s;
background: #FFFFFF;
box-shadow: 0 0 50px #FFFFFF;
}
ul li:nth-child(3)
{
animation-delay: -2.4s;
background: #138808;
box-shadow: 0 0 50px #138808;
}
ul li:nth-child(4)
{
animation-delay: -2.2s;
background: #000080;
box-shadow: 0 0 50px #000080;
}
ul li:nth-child(5)
{
animation-delay: -2s;
background: #ba68c8;
box-shadow: 0 0 50px #ba68c8;
}
ul li:nth-child(6)
{
animation-delay: -1.8s;
background: #05DE83;
box-shadow: 0 0 50px #05DE83;
}
ul li:nth-child(7)
{
animation-delay: -1.6s;
background: #D70499;
box-shadow: 0 0 50px #D70499;
}
ul li:nth-child(8)
{
animation-delay: -1.4s;
background: #DC7633 ;
box-shadow: 0 0 50px #DC7633;
}
ul li:nth-child(9)
{
animation-delay: -1.2s;
background: #07D826;
box-shadow: 0 0 50px #07D826;
}
ul li:nth-child(10)
{
animation-delay: -0.8s;
background: #D80724 ;
box-shadow: 0 0 50px #D80724;
}
ul li:nth-child(11)
{
animation-delay: -0.6s;
background: #E59306 ;
box-shadow: 0 0 50px #E59306;
}
ul li:nth-child(12)
{
animation-delay: -0.4s;
background: #06F2E5 ;
box-shadow: 0 0 50px #06F2E5;
}
ul li:nth-child(13)
{
animation-delay: -0.2s;
background: #F4037B ;
box-shadow: 0 0 50px #F4037B;
}
OUTPUT
0 Comments
Please Do Not Comments Any Span Or Span link..