outline-style:none | dotted | dashed | solid | double | groove | ridge | inset | outset
相关属性:outline , outline-width , outline-offset , outline-color
哎呀,出了点小问题,您可以稍后重试!
未填写内容或格式不正确!
outline-style:none | dotted | dashed | solid | double | groove | ridge | inset | outset
相关属性:outline , outline-width , outline-offset , outline-color
outline-style 属性用于设置一个元素的整个轮廓的样式。参见outline属性。
| 类型 | 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_style{
width:200px;
height:80px;
margin:10px;
padding:15px;
background:#f0f3f9;
outline:3px #beceeb;
outline-style:dotted;
outline-offset:5px;
}
<div class="outline_style">是否可见背景外3像素的虚线形式的轮廓外框?</div>