当前位置: 首页 > 网络学院 > 网页制作基础教程 > CSS > CSS outline属性
An outline is a line that is drawn around elements, outside the border edge, to make the element "stand out". The outline property sets the outlines around elements.
outline为环绕元素的线条轮廓,位置在边框边缘的外面,可以让元素"突出"。outline属性可以用来设置元素的线条轮廓
Note: Outlines do not take up space, and they do not have to be rectangular.
注意:Outlines 不会占据空间,而且它们不一定得呈现为直角
Inherited: No
继承性:无
button |
值 | 描述 |
---|---|
outline-color outline-style outline-width | A shorthand property for setting all the outline properties in one declaration 设置所有outline属性的速记法 |