body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
h1 span {
font-size: 12px;
font-family: 'Bad Script', cursive;
color: #000;
animation: glowing 2s linear infinite;
}
@keyframes glowing {
0%, 100% {
color: #000;
filter: blur(2px);
text-shadow: 0 0 10px #00b3ff,
0 0 20px #00b3ff,
0 0 40px #00b3ff,
0 0 80px #00b3ff,
0 0 120px #00b3ff,
0 0 200px #00b3ff,
0 0 300px #00b3ff,
0 0 400px #00b3ff;
} 5%, 95% {
color: #000;
text-shadow: none;
filter: blur(0px);
}
}
h1 span:nth-child(1){
animation-delay: 0s;
}
h1 span:nth-child(2){
animation-delay: .25s;
}
h1 span:nth-child(3){
animation-delay: .5s;
}
h1 span:nth-child(4){
animation-delay: .75s;
}
h1 span:nth-child(5){
animation-delay: 1s;
}
h1 span:nth-child(6){
animation-delay: 1.25s;
}
h1 span:nth-child(7){
animation-delay: 1.5s;
}
h1 span:nth-child(8){
animation-delay: 1.75s;
}