border-radius : none | <length>{1,4} [ / <length>{1,4} ]?
相关属性: border-top-right-radius , border-bottom-right-radius , border-bottom-left-radius , border-top-left-radius
哎呀,出了点小问题,您可以稍后重试!
未填写内容或格式不正确!
border-radius : none | <length>{1,4} [ / <length>{1,4} ]?
相关属性: border-top-right-radius , border-bottom-right-radius , border-bottom-left-radius , border-top-left-radius
| 引擎类型 | Gecko | Webkit | Presto |
|---|---|---|---|
| Border-radius | -moz-border-radius | -webkit-border-radius | |
| border-bottom-left-radius | -moz-border-radius-bottomleft | -webkit-border-bottom-left-radius | |
| border-bottom-right-radius | -moz-border-radius-bottomright | -webkit-border-bottom-right-radius | |
| border-top-left-radius | -moz-border-radius-topleft | -webkit-border-top-left-radius | |
| border-top-right-radius | -moz-border-radius-topright | -webkit-border-top-right-radius |
| 类型 | Internet Explorer |
Firefox |
Chrome |
Opera |
Safari |
|---|---|---|---|---|---|
| 版本 | (×)IE6 | (×)Firefox 2.0 | (√)Chrome 1.0.x | (×)Opera 9.64 | (√)Safari 3.1 |
| (×)IE7 | (√)Firefox 3.0 | (√)Chrome 2.0.x | |||
| (×)IE8 | (√)Firefox 3.5 | ||||
| (√)IE9 |
.border_radius{width:180px; background:#a0b3d6; -moz-border-radius:30px; -webkit-border-radius:30px; padding:30px;}
.border_radius .in{background:white; -moz-border-radius:20px; -webkit-border-radius:20px; padding:30px 10px;}
<div class="border_radius">
<div class="in">CSS3 border-radius实现的圆角效果</div>
</div>