CSS Border Radius Generator
create complex CSS border-radius shapes with per-corner controls
Interactive CSS Border Radius Generator — coming soon
In development. We're still building the interactive CSS Border Radius Generator. The guide below explains exactly what it does and how to use it. In the meantime, here are DevLab tools that already work in your browser:
Browse all working tools →Generates CSS border-radius declarations for any shape, from uniform pill buttons to asymmetric blob forms used in hero sections. Adjust each corner's horizontal and vertical radius independently, and the tool computes shorthand like border-radius: 30% 70% 70% 30% / 30% 30% 70% 70% while rendering the live shape, eliminating the trial-and-error loop you would otherwise run in browser DevTools.
What is CSS Border Radius Generator?
CSS Border Radius Generator lets you set all eight radius values, four corners each with a horizontal and vertical component, through visual handles and shows the resulting shape instantly. The underlying property accepts up to eight values separated by a slash, where values before the slash control horizontal radii and values after control vertical radii. Drag any handle to an extreme and you can form oval-like blobs without writing a single character by hand.
When you need a simple uniform corner, DevTools number-scrubbing is faster. But the moment you want asymmetric corners, the kind used for organic blob sections in marketing pages, the 8-value slash syntax becomes error-prone to write manually. Design tools like Figma let you round corners visually, but they export SVG paths, not border-radius declarations you can drop into a stylesheet and animate with CSS transitions.
One gotcha: percentage values for border-radius are relative to the element's border-box dimensions, not a single fixed length. The horizontal radius percentage is relative to the element's width, and the vertical radius percentage is relative to its height. This means 50% on a non-square element produces an ellipse, not a circle. A circle requires equal pixel values or 50% only when width equals height.
When to use CSS Border Radius Generator
- Use when a design comp shows asymmetric card corners and the 8-value shorthand slash syntax is unclear from inspection.
- Reach for it when generating CSS blob backgrounds for hero sections without exporting SVG paths from Figma.
- Copy the output when you need a border-radius that animates between two states and want both keyframe values pre-computed.
Frequently Asked Questions
What does the `/` separator mean in the border-radius shorthand output?
Why does my blob shape look different at a different element size?
Does border-radius clip child elements automatically?
Can I animate between two different blob shapes using the generated CSS?
Do I need `-webkit-border-radius` prefixes for the output to work?
Related Tools
- CSS Box Shadow Generatorbuild CSS box-shadow with live preview and copy-ready code · CSS
- CSS Clip Path Generatordraw CSS clip-path shapes and copy the generated code · CSS
- CSS Gradient Generatorgenerate CSS linear, radial, and conic gradients visually · CSS
- CSS Animation Generatorbuild CSS keyframe animations with timeline editor and preview · CSS