Border Radius Generator
Design rounded corners with per-corner sliders and copy the CSS.
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.
The four output values run clockwise: top left, top right, bottom right, bottom left. Sliders use pixels, so the same declaration can look different on elements of different sizes. The rectangular preview is not a circle maker; use equal width and height with 50% in your own CSS for a circle.
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
border-radius: 20px 20px 20px 20px;Equal values round all four corners the same amount.
Top left 24; top right 24; bottom right 0; bottom left 0border-radius: 24px 24px 0px 0px;The bottom corners remain square. Apply the declaration to the actual card size before judging the final shape.
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
