outline:[outline-color] || [outline-style] || [outline-width] || [outline-offset] | inherit
相关属性:outline-style , outline-width , outline-offset , outline-color
哎呀,出了点小问题,您可以稍后重试!
未填写内容或格式不正确!
outline:[outline-color] || [outline-style] || [outline-width] || [outline-offset] | inherit
相关属性:outline-style , outline-width , outline-offset , outline-color
| 类型 | Internet Explorer |
Firefox |
Chrome |
Opera |
Safari |
|---|---|---|---|---|---|
| 版本 | (×)IE6 | (√)Firefox 3.0.10 | (√)Chrome 2.0.x | (√)Opera 9.64 | (√)Safari 4 |
| (×)IE7 | (√)Firefox 3.5 | ||||
| (√)IE8 | |||||
.outline{
width:200px;
height:80px;
margin:10px;
padding:15px;
border:2px solid #cad5eb;
outline:dotted #beceeb 3px;
outline-offset:5px;
}
<div class="outline">是否可见虚线形式的轮廓外框?</div>