.loader i {
position: relative;
display: inline-block;
margin: 0 4px;
width: 5px;
height: 15px;
border-radius: 2px;
border: solid #000;
border-width: 0 1px 1px 0;
background: #000;
animation: tilt infinite 5s cubic-bezier(0.955, -0.010, 1.000, 1.000);
transform-origin: 100% 100%;
}
.loader i::before {
content: '';
position: absolute;
z-index: -1;
bottom: 0;
display: block;
width: 5px;
height: 5px;
background: transparent;
box-shadow: 0 2px rgba(0, 0, 0, .3);
animation: stretch infinite 5s cubic-bezier(0.955, -0.010, 1.000, 1.000);
opacity: 0;
transform-origin: 0% 0%;
}
.loader i:nth-child(2), .loader i:nth-child(2)::before {
animation-delay: .3s;
}
.loader i:nth-child(3), .loader i:nth-child(3)::before {
animation-delay: .6s;
}