开发者

curve the edges of a rectangle

the css below will create a rectangle fill it with these col0ur 开发者_如何学Go#F6F6F6 but i want to curve the edge of the rectangle.

.bold {
border: solid 1px #e7e7e7; 
background-color: #F6F6F6;
}


This should work in modern browsers

border:1px solid #aaac62;
-webkit-border-radius:8px;
-moz-border-radius:8px;
border-radius:8px;
/** hack for IE6+ */
behavior:url(border-radius.htc);

Get your border-radio.htc

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜