Skip to content
Local

Design

CSS Button Generator

Design bold buttons and cards with thick borders and hard shadows, check the hover and press states, and copy the CSS.

Runs in your browser. Nothing leaves this device.

How to use CSS Button Generator

  1. 1Pick a preset or set the colours yourself.
  2. 2Change the border, corners, shadow and padding.
  3. 3Switch between rest, hover and pressed, then copy the CSS.

Questions

What style is this?

It is often called neubrutalism: flat bright fills, thick dark borders and a solid shadow with no blur. The button sinks into its shadow when you hover or press it.

Does the CSS work with keyboards?

Yes. It includes a :focus-visible outline, and a reduced-motion rule turns the movement off for people who ask their system for less motion.

What does the contrast line mean?

It compares the text colour with the fill. 4.5:1 or more is easy to read at normal sizes; 3:1 is only enough for large bold text.

Is anything uploaded?

No. The preview and the CSS are made in your browser.

Is it free?

Yes. No account, no watermark and no daily limit.

Esc