CSS Tools
CSS Border Radius Generator
Set each corner in pixels or percent, preview the shape and copy the shortest border-radius CSS.
Set each corner in pixels or percent, preview the shape and copy the shortest border-radius CSS.
border-radius rounds the corners of an element. You can give one value for all corners or a different value for each one.
Set the four corners here, check the preview and copy the shortest CSS that gives the same result.
border-radius: 50% 0;
Give a square element a radius of 50 percent on every corner.
Use a very large pixel value, such as 999px, so the ends become fully round whatever the height.
Top-left, top-right, bottom-right, bottom-left, clockwise from the top left.
Percentages are relative to the element's width and height separately, so a non-square box gets elliptical corners.