How to use it
- 1
Enter the radius for each corner in px.
- 2
Review the shape in the preview block.
- 3
Copy the generated CSS shorthand.
What the tool can do
- Top-left, top-right, bottom-right, and bottom-left values.
- Numeric validation from 0 to 240 px.
- Compact shorthand output in standard CSS order.
Common use cases
- Choosing a radius token for cards and modals.
- Testing an asymmetric shape for a UI component.
- Getting shorthand quickly instead of writing four declarations.
How it works inside
Output order is top-left, top-right, bottom-right, bottom-left.
Values are limited to px to keep the generator simple and verifiable.
Questions and answers
How do I give each corner a different radius?
Enter a pixel value for each corner. Compare the shape in the preview and copy the result into CSS. Values run from top-left to top-right, bottom-right, and bottom-left.
Can I use percentage corner radii?
This generator's fields accept pixel values. Change the units in the generated CSS yourself if you need percentages, then test the shape on elements of different sizes.
