CSS Border Radius Generator
Adjust each corner of a shape and copy the CSS border-radius declaration.
Runs on your device. Nothing you add is uploaded.
CSS
border-radius: 24px 24px 8px 8px;
How to use CSS Border Radius Generator
- Choose pixels or percent.
- Adjust the four corners while watching the preview.
- Copy the CSS declaration into your stylesheet.
Questions
What order are the corner values in?
CSS lists them clockwise from the top left, followed by top right, bottom right, and bottom left.
How do I make a circle?
Use 50% on all four corners of a square. On a rectangle, 50% produces an ellipse.
How this works
Builds the four-corner CSS shorthand and lets the browser render the shape.
Everything happens in this browser tab. What you type or add stays on your device, and the page has no tracking. Your last settings are kept in this browser so the tool opens the way you left it. Privacy
Related tools
More in Color & designCSS Box Shadow Generator
Preview a CSS box shadow with adjustable offsets, blur, spread, color, and opacity.
CSS Gradient Generator
Preview a linear or radial gradient and copy the CSS background declaration.
Color Picker
Pick an sRGB color and copy its hex, RGB, or HSL values.
Color Palette Generator
Build a palette of related colors from a base color and a color scheme.