CSS Rounded Corners

Create a Rounded Corner on a DIV

CSS logoIf you would like to create rounded corners on a div, account for old and new browsers. Most new browsers will recognize rounded corners, available with CSS3. However, browsers not recognizing CSS3 may appreciate -mos, -webkit and -khtml variations.

In each case, there is 1 parameter to the border radius declaration. That is:

  • param 1: The corner radius.

Create Selected Rounded Corners

If you would like to create rounded corners on selected corners, there is an option to handle this situation. This is available in CSS3, and special case options for -moz and -webkit browsers.

The parameters are the same as the standard border radius, but affects only the selected corner.”

Leave a Reply