Making round borders with the CSS3 is easy. In this tutorial we will give a closer look at how to make nice round borders using only the CSS tools.

To make the rounded border we use the CSS3 property border-radius. The border radius property is shorthand to set the four properties border-top-left-radius, border-top-right-radius, border-bottom-right-radius and border-bottom-left-radius.

To make even rounded border on all 4 corners you should use a shorthand property border-radius and set it to, let's say, 25% (all 4 corners need same number), and to make the elliptical border you should set the value for border-radius to be 50%.

Examples

An example of evenly rounded borders set with the CSS border-radius property:

An example of circled rounded borders set with the CSS border-radius property:

An example of a cloud-like rounded borders set with the CSS border-radius properties:

An example of rounded borders set with the CSS border-radius properties and a background image:

An example of a leave-like rounded borders set with the CSS border-radius properties:

 

›› go to examples ››