cheat/dev
← Todos os snippets

Barras de progresso

Linear com rótulo, listrada animada e circular em CSS puro.

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}
.p{max-width:360px;margin:0 auto 14px}.l{display:flex;justify-content:space-between;font-size:13px;margin-bottom:6px;color:#9aa3ad}.t{height:10px;border-radius:99px;background:#2a2e33;overflow:hidden}.t i{display:block;height:100%;width:var(--v);border-radius:99px;background:#2f6fed}.st i{background:repeating-linear-gradient(45deg,#1f9c7a 0 10px,#2bb88f 10px 20px);background-size:28px 28px;animation:m 1s linear infinite}@keyframes m{to{background-position:28px 0}}.ring{width:84px;height:84px;margin:10px auto;border-radius:50%;background:conic-gradient(#2f6fed 72%,#2a2e33 0);display:grid;place-items:center}.ring::after{content:"72%";width:66px;height:66px;border-radius:50%;background:#0e1013;display:grid;place-items:center;font-weight:800}
</style>
<div class="p"><div class="l"><span>Upload</span><span>40%</span></div><div class="t"><i style="--v:40%"></i></div></div><div class="p st"><div class="l"><span>Processando</span><span>75%</span></div><div class="t"><i style="--v:75%"></i></div></div><div class="ring"></div>