d
Amit DhamuSoftware Engineer
 

Border Radius

1 minute read 00000 views

Cross-browser CSS border radius.

// All Corners
border-radius: 6px;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;

// Individual Corners
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;

-moz-border-radius-topleft: 2px;
-moz-border-radius-topright: 2px;
-moz-border-radius-bottomright: 2px;
-moz-border-radius-bottomleft: 2px;

-webkit-border-top-left-radius: 2px;
-webkit-border-top-right-radius: 2px;
-webkit-border-bottom-right-radius: 2px;
-webkit-border-bottom-left-radius: 2px;