Border Radius Generator
Generate CSS border-radius code for creating rounded corners instantly. Visual editor for creating custom border radius styles with live preview.
Loading tool...
What is Border Radius Generator?
A border radius generator creates rounded corners for CSS elements. It allows individual corner control or uniform radius settings, outputting CSS code that transforms rectangular elements into rounded shapes or circles.
Key Benefits
- Individual corner control
- Visual preview
- Copy CSS instantly
- Elliptical corners
Common Use Cases
- β’Button styling
- β’Image frames
- β’Card components
- β’Avatar circles
How to Generate Border Radius
- Adjust corners: Drag sliders to set radius for each corner individually.
- Link or unlink: Toggle to link all corners for uniform radius.
- Preview the shape: See the live preview of your border radius settings.
- Copy CSS: Copy the border-radius CSS property to your stylesheet.
Key Features
- Visual border-radius editor
- Independent corner control
- Preset shapes (pill, circle, etc.)
- Live preview of shape
- Copy CSS code with one click
- Pixel and percentage units
Frequently Asked Questions
What is border-radius?
Border-radius rounds the corners of an element. Use single values for uniform corners, or specify each corner individually for custom shapes.
Can I create circles with border-radius?
Yes, set border-radius to 50% on a square element to create a perfect circle. For ovals, use 50% on rectangles.
What are the 8-value and 4-value syntaxes?
4 values set each corner (top-left, top-right, bottom-right, bottom-left). 8 values control horizontal and vertical radius separately for elliptical corners.
Does border-radius work on images?
Yes, border-radius works on any element including images. Combine with overflow:hidden for clean rounded image corners.
Featured in Collections:Designer's Toolkit