Create rounded corners with a visual editor. Adjust each corner independently or uniformly. Copy the CSS instantly.
The border-radius property rounds the corners of an element's border. You can set all corners equally, each corner individually, or even create elliptical corners.
border-radius: 10px; — all corners equalborder-radius: 10px 20px; — top-left/bottom-right, top-right/bottom-leftborder-radius: 10px 20px 30px 40px; — TL, TR, BR, BLborder-radius: 50%; — perfect circle (on a square element)Set border-radius: 50% on a square element (equal width and height). For a non-square element, 50% creates an ellipse, which can also be useful.
Pixel values give fixed radii regardless of element size. Percentage values are relative to the element's dimensions — 50% always creates the maximum rounding (circle/ellipse), while a large px value may not fully round a large element.