<div class="face-load">
<div></div>
<div></div>
<div></div>
<div></div>
</div>
body{
background:#3B5998
}
.face-load{
display:flex;
width:50px;
margin:20% auto
}
.face-load div{
width:6px;
height:30px;
background:#fff;
margin-right:2px
}
@keyframes face-load {
0%,100% {
transform: scaley(1);
opacity:1
}
50% {
transform: scaley(.4);
opacity:0.1
}
}
.face-load>div:nth-child(1) {
animation: face-load 1s -.4s infinite cubic-bezier(.2,.68,.18,1.08)
}
.face-load>div:nth-child(2) {
animation: face-load 1s -.3s infinite cubic-bezier(.2,.68,.18,1.08)
}
.face-load>div:nth-child(3) {
animation: face-load 1s -.2s infinite cubic-bezier(.2,.68,.18,1.08)
}
.face-load>div:nth-child(4) {
animation: face-load 1s -.1s infinite cubic-bezier(.2,.68,.18,1.08)
}
.face-load>div {
animation-fill-mode: both
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.