cheat/dev
← Todos os snippets

Hero com gradiente e selo

Fundo em degradê vivo, selo de novidade e destaque no texto.

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}
.hero{padding:50px 20px;text-align:center;border-radius:22px;background:linear-gradient(135deg,#1e3a8a,#7c3aed 60%,#db2777);color:#fff}.tag{display:inline-block;background:#ffffff26;border:1px solid #ffffff44;padding:4px 12px;border-radius:99px;font-size:12px;margin-bottom:14px}.hero h1{font-size:clamp(28px,5vw,44px);margin:0 0 10px}.hero em{font-style:normal;background:#fff;color:#7c3aed;padding:0 8px;border-radius:8px}.hero a{display:inline-block;margin-top:16px;background:#fff;color:#1e3a8a;padding:12px 24px;border-radius:99px;font-weight:700}
</style>
<section class="hero"><span class="tag">✨ Novo: versão 2.0</span><h1>Mais rápido. Mais <em>simples</em>.</h1><p>Tudo o que você precisa, sem complicação.</p><a href="#">Experimentar</a></section>