Border Radius Generator
border-radius: 0px;Tailwind has no native % border-radius — arbitrary value used.
All processing in-browser. Nothing uploaded.
Overview
Round corners visually and copy the CSS
Visually adjust rounded corners for any element. Copy CSS shorthand, longhand, Tailwind classes, or a custom property — all computed in your browser.
Getting started
How to Use the Border Radius Generator
- 1 Choose a mode
Select Simple for equal-corner rounding, Advanced for per-corner elliptical control, or Blob for freeform organic shapes using percentage values.
- 2 Adjust the corner sliders
Drag a slider or type a value directly into the number input beside it. In Simple mode, toggle "Same on all sides" to link all four corners to one value.
- 3 Preview in real time
The preview updates instantly as you move any control. Resize it with the Size inputs, and style its border and background in the controls pane.
- 4 Pick a preset
Use the Preview element buttons to jump to sensible defaults for a Button, Card, Avatar, Image, or Input — then fine-tune from there.
- 5 Select your output format
Choose Shorthand, Longhand, Tailwind classes, or a Custom property. The code block updates immediately.
- 6 Copy and share
Click Copy CSS to put the generated code on your clipboard. The page URL updates automatically as you adjust settings — copy or bookmark it to share the exact configuration.
CSS Reference
CSS Shorthand Rules
| Values | Meaning | Example |
|---|---|---|
| 1 value | All four corners equal | border-radius: 8px |
| 2 values | TL+BR first, TR+BL second | border-radius: 8px 4px |
| 3 values | TL, TR+BL, BR | border-radius: 8px 4px 12px |
| 4 values | TL, TR, BR, BL (clockwise) | border-radius: 8px 4px 12px 2px |
Frequently Asked Questions
What is border-radius in CSS?
border-radius property rounds the corners of an element. You can set a single value to round all four corners equally, or set individual values per corner for asymmetric shapes. Percentage values create ellipse-shaped curves that adapt to the element's dimensions.What is the difference between Simple, Advanced, and Blob modes?
How does the Tailwind output work?
rounded-lg. Non-standard values use arbitrary syntax: rounded-[5px]. Elliptical (Advanced) mode cannot be represented in Tailwind's utility classes, so the CSS shorthand is shown instead. In Blob mode, elliptical corners become a single arbitrary class such as rounded-[60%_40%/40%_60%].