Sunday, November 14, 2010

CSS Rounded Corner

When we use a square or rectangle on our website to show our content. Then the corners of these boxes looks bad and feels ugly. If we make these corners rounded, then they give our website a good look and looks cool. So Now in CSS 3 there is a property for rounded corner and that is
     
         .rounded-corners
         {
             -moz-border-radius: 20px;
             -webkit-border-radius: 20px;
             -khtml-border-radius: 20px;
             border-radius: 20px;
         }
     

Place this property in your webpage style, and make your website cool and beautiful.

No comments:

Post a Comment