<div class="sequencing is-animate" lang="en">
<span>CSS</span>
<span>Sequnce</span>
<span>Animation</span>
</div>
body {
display: flex;
justify-content: center;
align-items: center;
margin: 0;
min-height: 100vh;
background: #6238CA;
color: #fff;
}
.sequencing {
display: flex;
flex-flow: column;
font-size: 100px;
font-weight: 100;
}
.sequencing.is-animate span {
opacity: 0;
transform: translateY(4rem);
animation:
transform-none
0.6s
cubic-bezier(0.2, 0.66, 0.54, 1.4)
infinite
alternate
forwards;
}
.sequencing span:nth-child(1) { animation-delay: 0.2s }
.sequencing span:nth-child(2) { animation-delay: 0.4s }
.sequencing span:nth-child(3) { animation-delay: 0.6s }
@keyframes transform-none {
to {
transform: none;
opacity: 1;
}
}
View Compiled
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.