Facebook
Banner
XMPP JavaScript Library READ MORE

CSS3 Border Radius

CSS, Sachin Puri, 2012-01-29 03:00:20

"border radius" is one of the very good property in CSS3, but it works differently in different borwsers.

border-radius:5px 

border-top-left-radius: 5px;

border-top-right-radius: 5px; 

border-bottom-left-radius: 5px;

border-bottom-right-radius: 5px;

This is work in Chrome and newer versions of all the major browsers but not in older versions.

To make it work in older versions of Firefox make use of following

-moz-border-radius:5px

To make it work in older version of Safari use this

-webkit-border-radius

-khtml-border-radius

 

Add Your Comment
   
    Yes! I want to receive all comments by email

No Comments Posted Yet. Be the first one to post comment