CSS Border Radius Generator
Design CSS border radius online for free. Set each corner separately with sliders, switch on elliptical corners for organic blob shapes, or start from a preset — card, pill, leaf or blob. Watch the live preview update and copy the CSS straight into your stylesheet. No signup, everything in your browser.
Frequently asked questions
What is border-radius in CSS?
border-radius rounds the corners of an element. A value of 16px gives gently rounded card corners; 999px (or 50%) turns a square into a circle or a pill, depending on the element’s shape.
What are elliptical corners?
Normal border-radius uses one radius per corner — a quarter circle. Elliptical corners use two radii per corner (horizontal and vertical), so a corner can be wider than it is tall. That is how organic blob and leaf shapes are made.
Why does 50% not always make a circle?
50% rounds each corner by half the element’s width and height. On a square that makes a circle; on a rectangle it makes an oval. For a pill shape on a button, use a very large pixel value like 999px instead.
Can I set different radii for each corner?
Yes — that is what this tool does. In CSS it is written as border-radius: top-left top-right bottom-right bottom-left; — for example 16px 4px 16px 4px.