CSS Border-Radius Generator
Create custom CSS rounded corners with live preview and ready-to-use code
CSS Code
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
border: 5px solid #1C6EA4;
๐ 100% private: your data stays on your device
What is border-radius in CSS?
The CSS border-radius property allows you to round the corners of an element. You can set a uniform radius or customize each corner individually. Border-radius is supported by all modern browsers and provides a simple way to add rounded shapes to your web designs.
Features
Individual Corner Control
Customize each corner individually or sync them all with one click.
Live Preview
Instantly visualize your changes with an interactive preview.
Border Styles
Configure border width, style, color, and position.
100% Private & Secure
All processing happens in your browser. Your data never leaves your device.
How to create CSS rounded corners?
Adjust Corners
Use the sliders to set the radius of each corner or enable "All the same" to sync them.
Configure Border
Choose the border style, width, color, and position.
Preview
Check the result in real-time in the preview area.
Copy Code
Copy the generated CSS code and use it directly in your project.
Border-radius Syntax
border-radius: <top-left> <top-right> <bottom-right> <bottom-left>;
The border-radius property accepts 1 to 4 values: a single value applies to all corners, two values define top-left/bottom-right and top-right/bottom-left, and four values define each corner clockwise starting from top-left.
Frequently Asked Questions
Is this border-radius generator free?
Yes, 100% free with no limits. No registration required, customize your rounded corners as much as you want.
Is border-radius compatible with all browsers?
Yes, border-radius is supported by all modern browsers for years. The -webkit- and -moz- prefixes are no longer needed for most browsers.
Can I create a perfect circle with border-radius?
Yes! To create a circle, use border-radius: 50% on a square element (width equal to height).
What is the difference between px and % for border-radius?
Pixels (px) define a fixed value, while percentages (%) are relative to the element dimensions. 50% creates an ellipse if the element is not square.
Can I use different values for each corner?
Yes! Uncheck "All the same" to control each corner separately and create asymmetric shapes.