About Border Radius Generator
The CSS border-radius property rounds the corners of an element. Its shorthand takes up to four values in the order top left, top right, bottom right, bottom left. This generator sets each corner from 0 to 100 pixels, previews the shape, and outputs one value when all corners match or four values otherwise. Elliptical corners written with the slash syntax and percentage values are not covered.
How to use Border Radius Generator
- Fill in "Top left", "Top right", "Bottom right" and "Bottom left".
- The result appears below and updates as you type.
- Copy the result with the copy button, or download it as a file where that is offered.
Questions about Border Radius Generator
How do I make a perfect circle or a pill shape?
For a circle, give a square element border-radius: 50%. For a pill, use a radius larger than half the height, such as 9999px. Browsers scale oversized radii down so the corners never overlap.
Runs in your browser. Page last updated .