目录

outline-style

outline-style 该属性是用于规定元素的轮廓样式属性。

 

语法

outline-style: auto;
outline-style: none;
outline-style: dotted;
outline-style: dashed;
outline-style: solid;
outline-style: double;
outline-style: groove;
outline-style: ridge;
outline-style: inset;
outline-style: outset;
outline-style: initial;
outline-style: unset;
outline-style: inherit;

描述
<'outline-style'> 此关键词表示轮廓属性的样式。详见 outline-style

例子

HTML

<div id="red">
</div>

CSS

#red {
     width: 200px;
     height: 200px;
     outline: 6px red;
     outline-style: solid;
     }
   

执行结果

参考

相关链接

外部链接