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.
Open CSS Button Generator
Free, no account, no watermark and no daily limit.
How to use CSS Button Generator
- 1Pick a preset or set the colours yourself.
- 2Change the border, corners, shadow and padding.
- 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.
Related tools
- DesignColour ConverterConvert a colour between HEX, RGB, HSL, HSV, HWB, OKLCH and CMYK, and check its contrast against white and black.
- DesignColour Picker from ImageClick anywhere on an image to get the exact colour as HEX, RGB and HSL, and see its main colours.
- DesignAspect Ratio CalculatorFind the aspect ratio of any width and height, resize to a new width or height at the same ratio, and see megapixels and common sizes.
- DesignBackground & Wallpaper GeneratorMake mesh gradients, grain textures and dot, grid, wave or stripe patterns at any size, then download a PNG or copy the CSS.
- DesignBorder Radius GeneratorRound each corner of a box in pixels or percent, see the shape change and copy the shortest CSS.
- DesignBox Shadow GeneratorSet the offset, blur, spread and colour of a CSS box shadow, watch it on a box and copy the CSS.