Make curved divs using css

It has become a trend among web designers to make the divs or pop up boxes curved.The main advantage with this is that the user wont get bored.Especially for sites such as social networking sites where the user regularly view page it would be nice to introduce curved divs and also it would give a professional look to the design.Now a days most of the sites possess curved divs.The most important thing is that css3 had made it very easy to make divs curved here is the css code to make divs curved:

#div
{
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;

}


#div is the id of the div.

It was really easy right?


No comments:

Post a Comment