CSS Border Radius Generator
All Corners 8px
CSS Output
border-radius: 8px;
How to Use
- Adjust the slider or type a value to set the border radius for each corner.
- Toggle "Link corners" to change all corners together or independently.
- Select a unit (px, %, rem, em) for the values.
- See the live preview update in real time.
- Copy the generated CSS with the copy button.
CSS Border Radius
The CSS border-radius property rounds the corners of an element's outer border edge. You can set a single radius to make circular corners, or specify each corner individually to create asymmetric shapes. Common uses include rounded buttons, cards, avatars (50% for circles), and decorative UI elements.
Syntax Guide
- 1 value (e.g., 8px): All four corners are the same.
- 4 values (e.g., 10px 20px 30px 40px): Top-left, top-right, bottom-right, bottom-left — clockwise from the top-left.
- Percentage values (e.g., 50%): Relative to the element's dimensions. 50% on a square creates a circle.
Privacy
All processing happens in your browser. No data is sent to any server.