当前位置: 首页 > 网络学院 > 网页制作基础教程 > CSS > CSS outline-width属性
An outline is a line that is drawn around elements, outside the border edge, to make the element "stand out". The outline-width property sets the width of the outlines.
outline为环绕元素的线条轮廓,位置在边框边缘的外面,可以让元素"突出"。outline-width属性可设置线条轮廓宽度。
Note: Outlines do not take up space, and they do not have to be rectangular.
注意:Outlines 不会占据空间,而且它们不一定得呈现为直角
Inherited: No
继承性:无
button |
值 | 描述 |
---|---|
thin | Defines thin outlines 细型线条轮廓 |
medium | Defines medium outlines 中等宽度的线条轮廓 |
thick | Defines thick outlines 粗型线条轮廓 |
length | Allows you to define the thickness of the outlines 定义具体的线条轮廓粗细 |