CSS Button Generator
Design a button and copy clean CSS with hover and press states.
How it works
Design a button and copy clean CSS with hover and press states.
Good to know
- Keep at least 44 x 44 px for touch targets.
- Check text contrast against the button colour.
Common questions
- Does it include focus styles?
- Always keep a visible focus outline for keyboard users.
- Can I use it with Tailwind?
- Copy the values into your own classes.
- Is it free to use?
- Yes. Copy the CSS into any project, personal or commercial.