<div class="container">
<span>H</span>
<span>O</span>
<span>V</span>
<span>E</span>
<span>R</span>
<span>!</span>
</div>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
background: #000;
}
.container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
font-size: 2em;
letter-spacing: 15px;
}
span:nth-child(1) {
animation: tee 2s infinite;
}
@keyframes tee {
50% {
transform: skewX(20deg);
color: rgb(255, 208, 0);
font-size: 2em;
}
100% {
text-shadow: 0 0 20px rgb(217, 255, 0);
}
}
span:nth-child(2) {
animation: arr 2s infinite;
}
@keyframes arr {
50% {
color: hotpink;
transform: rotate(60deg);
font-size: 1em;
}
100% {
text-shadow: 0 0 13px hotpink;
}
}
span:nth-child(3) {
animation: e 2s infinite;
}
@keyframes e {
50% {
transform: scaleY(-1);
color: rgb(0, 255, 221);
font-size: 1.2em;
}
100% {
text-shadow: 0 0 15px rgb(6, 250, 230);
}
}
span:nth-child(4) {
animation: cee 2s infinite;
}
@keyframes cee {
50% {
transform: rotate(360deg);
color: rgb(255, 51, 0);
font-size: 1em;
}
100% {
text-shadow: 0 0 7px rgb(255, 51, 0);
}
}
span:nth-child(5) {
animation: i 2s infinite;
}
@keyframes i {
50% {
transform: rotateX(360deg);
color: rgb(51, 255, 0);
font-size: 1.5em;
}
100% {
text-shadow: 0 0 18px rgb(51, 255, 0);
}
}
span:nth-child(6) {
animation: a 2s infinite;
}
@keyframes a {
50% {
transform: rotateY(360deg);
color: rgb(255, 255, 255);
font-size: 1.7em;
}
100% {
text-shadow: 0 0 18px rgb(255, 255, 255);
}
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.