Neo-brutal colour shadow
Neo-brutal colour shadow: a CSS button. Copy the rules, or the prompt that rebuilds it.
CSS
.btn-047 {
font: 700 15px/1 system-ui,sans-serif;
color: #1e1b4b;
background: #fff;
border: 2.5px solid #1e1b4b;
border-radius: 8px;
padding: 12px 24px;
cursor: pointer;
box-shadow: 4px 4px 0 #a5b4fc;
transition: transform .1s,box-shadow .1s,background .1s
}
.btn-047:hover {
box-shadow: 6px 6px 0 #6366f1;
background: #eef2ff
}
.btn-047:focus-visible {
outline: 3px solid #6366f1;
outline-offset: 3px
}
.btn-047:active {
transform: translate(4px,4px);
box-shadow: 0 0 0 #6366f1
}
HTML
<button class="btn-047">Download</button>Prompt
A neo-brutalist button with a coloured hard shadow: white fill, 2.5px #1e1b4b border, 8px radius, #1e1b4b 15px bold text, 12px by 24px padding, offset shadow 4px 4px in periwinkle #a5b4fc. Hover grows the shadow to 6px in indigo #6366f1 and tints the fill #eef2ff; active moves 4px down-right and drops the shadow. Focus outline 3px indigo.