Kobalt Block
Kobalt Block: CSS-Button. Kopiere die Regeln oder den Prompt, der das Ergebnis nachbaut.
CSS
.btn-002 {
font: 600 15px/1 system-ui,sans-serif;
color: #fff;
background: #2563eb;
border: 0;
border-radius: 8px;
padding: 13px 24px;
cursor: pointer;
box-shadow: 0 1px 2px rgba(37,99,235,.35);
transition: background .15s,box-shadow .15s
}
.btn-002:hover {
background: #1d4ed8;
box-shadow: 0 4px 12px rgba(37,99,235,.35)
}
.btn-002:focus-visible {
outline: 3px solid rgba(37,99,235,.4);
outline-offset: 2px
}
.btn-002:active {
background: #1e40af;
box-shadow: none
}
HTML
<button class="btn-002">Continue</button>Prompt
Ein kräftig blauer Button #2563eb mit weißem Text 15px semibold, 8px Radius und 13px mal 24px Padding. Er hat einen zarten 1px blauen Schatten; beim Hover dunkelt er auf #1d4ed8 ab und der Schatten wächst auf 0 4px 12px bei 35% Blau. Active geht auf #1e40af ohne Schatten. Fokus zeigt eine 3px halbtransparente blaue Outline.