← Todos os snippets
Loaders (pontos, barra, pulso)
Três animações de carregamento só com CSS.
Preview ao vivo
Código completo
<style>*{box-sizing:border-box}body{font-family:system-ui,sans-serif;margin:0;padding:24px;background:#0e1013;color:#e8eaec;line-height:1.5}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}
.r{display:flex;gap:44px;justify-content:center;align-items:center;padding:24px}.d{display:flex;gap:6px}.d i{width:11px;height:11px;border-radius:50%;background:#2f6fed;animation:p 1s ease-in-out infinite}.d i:nth-child(2){animation-delay:.15s}.d i:nth-child(3){animation-delay:.3s}@keyframes p{0%,80%,100%{transform:scale(.5);opacity:.4}40%{transform:scale(1);opacity:1}}.bar{width:90px;height:5px;border-radius:9px;background:#2a2e33;overflow:hidden}.bar::after{content:"";display:block;width:40%;height:100%;background:#1f9c7a;animation:s 1.1s ease-in-out infinite}@keyframes s{from{translate:-100%}to{translate:250%}}.pulse{width:26px;height:26px;border-radius:50%;background:#e4572e;animation:o 1.2s ease-out infinite}@keyframes o{to{box-shadow:0 0 0 22px #e4572e00}}.pulse{box-shadow:0 0 0 0 #e4572eaa}
</style>
<div class="r"><div class="d"><i></i><i></i><i></i></div><div class="bar"></div><div class="pulse"></div></div>