Zentrum Bloom
Zentrum Bloom: CSS-Button. Kopiere die Regeln oder den Prompt, der das Ergebnis nachbaut.
CSS
.btn-059 {
position: relative;
overflow: hidden;
font: 600 14px/1 system-ui,sans-serif;
color: #7e22ce;
background: transparent;
border: 2px solid #7e22ce;
border-radius: 999px;
padding: 12px 26px;
cursor: pointer;
z-index: 0;
transition: color .3s
}
.btn-059::before {
content: "";
position: absolute;
inset: 0;
background: #7e22ce;
border-radius: inherit;
transform: scale(0);
transition: transform .3s ease;
z-index: -1
}
.btn-059:hover {
color: #fff
}
.btn-059:hover::before {
transform: scale(1.05)
}
.btn-059:focus-visible {
outline: 2px solid #7e22ce;
outline-offset: 3px
}
.btn-059:active::before {
background: #6b21a8
}
HTML
<button class="btn-059">Bloom</button>Prompt
Eine violette Outline-Pille (2px Rahmen #7e22ce, violetter Text 14px semibold, 12px mal 26px Padding, voll abgerundet). Beim Hover wächst eine violette Füllung aus der Mitte nach außen (scale 0 auf 1.05 in 300ms) und der Text wird weiß. Active #6b21a8. Fokus-Outline 2px Violett.