Independent corner control
Drag sliders for top-left, top-right, bottom-right, and bottom-left independently. Toggle link mode to move all corners together.
Click any preset to apply
Typing border-radius values by hand means constant trial and error — guess a number, paste it in, refresh, repeat. This free CSS border radius generator gives you live sliders for all four corners, so you see the exact shape as you drag. Switch between px, %, and rem in one click, or enable elliptical mode to unlock the horizontal/vertical slash syntax for organic curves.
When you're done, copy the output in whatever format your project needs — plain CSS, CSS custom property, SCSS variable, React inline style, or Tailwind config. Free, no sign-up, no limits.
Drag sliders for top-left, top-right, bottom-right, and bottom-left independently. Toggle link mode to move all corners together.
Switch units at any time. Use % for circles and responsive shapes, px for fixed UI components, rem to match your typography scale.
Enable the slash syntax (border-radius: H / V) to set separate horizontal and vertical radii for oval and teardrop shapes.
The same border-radius shown at 48px, 80px, and 120×80px simultaneously — catch edge cases before they hit production.
CSS property, CSS custom property, SCSS variable, React borderRadius inline style, and Tailwind config block.
Subtle, Rounded, Heavy, Pill, Circle, Squircle, Leaf, Ticket, Chat bubble, Diamond — apply in one click and adjust from there.
Love MockupShelf? Leave us a review — it only takes 30 seconds.
Help other designers discover free mockups by sharing your experience on Trustpilot.
border-radius rounds the corners of an element's border box. A single value rounds all four corners equally. The shorthand accepts up to four values in the order top-left, top-right, bottom-right, bottom-left.border-radius: 80px 20px / 20px 80px — sets separate horizontal and vertical radii for each corner. This produces elliptical arcs rather than circular ones, creating oval, leaf, teardrop, and organic blob shapes.border-radius: 50% to a square element (equal width and height). The Circle preset in this generator sets this automatically.border-radius: 9999px. A very large value ensures the short sides are fully rounded regardless of element height. The Pill preset applies this in one click.borderRadius property: style={{ borderRadius: '16px' }}.