/ Published in: CSS
URL: http://www.css3.info/preview/rounded-border/
Probably the most common CSS3 feature currently being used is border-radius. Standard HTML block elements are square-shaped with 90-degree corners. The CSS3 styling rule allows rounded corners to be set.
Expand |
Embed | Plain Text
.round { -khtml-border-radius: 5px; -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; } ------- customize ------------------------------ .round { -moz-border-radius-topleft: 20px; -moz-border-radius-topright: 20px; -moz-border-radius-bottomleft: 10px; -moz-border-radius-bottomright: 10px; -webkit-border-top-right-radius: 20px; -webkit-border-top-left-radius: 20px; -webkit-border-bottom-left-radius: 10px; -webkit-border-bottom-right-radius: 10px; }
You need to login to post a comment.
