Simple CSS Loading
Home
Snippets
Simple CSS Loading
HTML
CSS
JS
<div class="loader"> <span>L</span> <span>O</span> <span>A</span> <span>D</span> <span>I</span> <span>N</span> <span>G</span> </div>
body { height: 100vh; background-color: #141414; margin: 0; display: flex; align-items: center; justify-content: center; font-family: "poppins", sans-serif; } .loader { -webkit-perspective:700px; perspective: 700px; } .loader > span { color: orangered; font-size: 16vw; font-weight: bold; display: inline-block; animation: flip 2.6s infinite linear; transform-origin: 0 70%; transform-style: preserve-3d; -webkit-transform-style: preserve-3d; } @keyframes flip { 35% { transform: rotateX(360deg); } 100% { transform: rotatex(360deg); } } .loader > span:nth-child(even) { color:white; } .loader > span:nth-child(2) { animation-delay: 0.3s; } .loader > span:nth-child(3) { animation-delay: 0.6s; } .loader > span:nth-child(4) { animation-delay: 0.9s; } .loader > span:nth-child(5) { animation-delay: 1.2s; } .loader > span:nth-child(6) { animation-delay: 1.5s } .loader > span:nth-child(7) { animation-delay: 1.8s }
//javascript
Ad #1
Ad #2
Scroll to Top