Neo-Brutalism Generator
Thick borders and hard offset shadows. Copy the CSS for cards and buttons.
How it works
Makes the CSS for the thick-border, hard-shadow look: a solid background, a heavy outline, and a shadow with no blur that sits offset from the box. Change each number and copy the result.
- Pick the background and line colours.
- Set border, shadow and radius.
- Copy the CSS.
Worked example
Border 3 px, shadow 6 px and radius 0 give background, a 3px solid border, and box-shadow: 6px 6px 0 in the same dark colour. That one line is the whole look.
Good to know
- Use the same dark colour for border, shadow and text so it feels like one drawing.
- Keep the shadow offset about twice the border width.
- On hover, move the box by the shadow offset and drop the shadow to press the button in.
- Check that your text colour has enough contrast with the background.
Common questions
- What makes it neo-brutalist?
- Flat bright colours, black outlines and shadows with zero blur. It looks like a printed sticker.
- Why a hard shadow?
- A shadow with blur 0 stays a sharp copy of the box, shifted sideways and down.
- Can I round the corners?
- Yes, use the radius box. Many designs keep it 0 or small.
- Does this work in every browser?
- Yes. It uses plain border and box-shadow, which every browser supports.