CSS & Design
Border Radius Generator
Design rounded corners with per-corner sliders and copy the CSS.
Free browser toolRuns in your browserNo sign-up
border-radius: 20px 20px 20px 20px;Drag each corner independently, or set them equal for a uniform radius.
About the Border Radius Generator
The CSS border-radius property rounds an element's corners. Getting each corner just right by editing numbers is slow.
This generator gives you a slider for every corner with a live preview, then hands you the border-radius CSS to copy.
It runs entirely in your browser.
Key features
- Per-corner sliders
- Live preview
- Copy border-radius CSS
- Runs in your browser
How to use
- 1Drag each corner slider.
- 2Watch the live preview.
- 3Copy the CSS.
Examples
Rounded card
Output:
border-radius: 20px 20px 20px 20px;Equal values round all four corners the same amount.
Frequently asked questions
- Can I round only one corner?
- Yes. Each corner has its own slider, so you can round one, two or all four independently.
- How do I make a circle?
- Set every corner to a large value (or 50% in your own CSS) on a square element to get a perfect circle.
- Is the output standard CSS?
- Yes. It outputs a normal border-radius declaration you can paste straight into your stylesheet.
Continue your workflow
Open a related tool to prepare your files or refine the finished result.
- CSS & DesignCSS Box Shadow Generator
Design a CSS box shadow with sliders and copy the CSS.
Open tool - CSS & DesignCSS Gradient Generator
Create a linear CSS gradient with a live preview and copy the CSS.
Open tool - CSS & DesignCSS Triangle Generator
Create a pure-CSS triangle in any direction and copy the CSS.
Open tool
