• Custom Printed T-shirts
  • Seo Expert
  • Bisen Infotech
  • Khaali Paper

Border Radius CSS

The following is a basic and most common Border Radius CSS properties, which is supported all the latest browser.

1. Circle Shape

-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
border-radius: 50%;

2. Square Shape

-webkit-border-radius: 10px;
-moz-border-radius: 10px;
-ms-border-radius: 10px;
-o-border-radius: 10px;
border-radius: 10px;

3. Border Radius Top Left

-webkit-border-top-left-radius: 10px;
-moz-border-radius-top-left: 10px;
border-top-left-radius: 10px;

4. Border Radius Top Right

-webkit-border-top-right-radius: 10px;
-moz-border-radius-top-right: 10px;
border-top-right-radius: 10px;

5. Border Radius Bottom Left

-webkit-border-bottom-left-radius: 10px;
-moz-border-radius-bottom-left: 10px;
border-bottom-left-radius: 10px;

6. Border Radius Bottom Right

-webkit-border-bottom-right-radius: 10px;
-moz-border-radius-bottom-right: 10px;
border-bottom-right-radius: 10px;

7. Border Radius

-webkit-border-radius: 10px;
-moz-border-radius: 10px;
-ms-border-radius: 10px;
-o-border-radius: 10px;
border-radius: 10px;
width: 100px;
height: 100px;
border: 1px solid #666;

Round corners using CSS3

The border-radius property to round the corners of an element’s. border-radius: 10px 10px 10px 10px; (first one is for the top-left corner, second one for top-right corner, third one for bottom-right corner, and fourth value applies to bottom-left corner).

You can customize this code further as per your requirement.