Tip: switch to % and set opposite corners to 50% for pill and leaf shapes.
border-radius: 24px;Tip: switch to % and set opposite corners to 50% for pill and leaf shapes.
border-radius: 24px;Round all four corners together or set each one independently, in pixels, percent or em. Percent-based radii on a rectangle give you pill and blob shapes; the preview shows exactly what the value produces.
The generator is fully client-side, so nothing leaves your browser — set your corners and copy the border-radius value.
Need another effect? See all CSS generators.
Linear, radial & conic gradients with unlimited stops.
Layer offset, blur, spread, color & inset shadows.
Frosted-glass blur, transparency & border.
Offset, blur, color — glow & layered text effects.
Drag the curve to design custom easing.
Found something broken, have an idea, or just want to say thanks about any of our tools? Every message reaches a real person.