当前位置: 首页 > 网络学院 > 网页制作基础教程 > CSS > CSS outline-style属性

CSS
CSS2 Aural
CSS 单位
CSS 颜色
CSS 颜色值
CSS 颜色名称
CSS 编码与组织技巧
CSS 模块化设计思路
CSS完美兼容IE6/IE7/FF的通用方法
CSS @ Ten: 下一个重要的东西

CSS outline-style属性


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 309 ::
收藏到网摘: n/a

An outline is a line that is drawn around elements, outside the border edge, to make the element "stand out". The outline-style property sets the style of the outlines.
outline为环绕元素的线条轮廓,位置在边框边缘的外面,可以让元素"突出"。outline-style属性可以设置线条轮廓的样式。

Note: Outlines do not take up space, and they do not have to be rectangular.
注意:Outlines 不会占据空间,而且它们不一定得呈现为直角

Inherited: No
继承性:无

举例

button

outline-style: solid
}

可用值

描述
none Defines no outlines
没有线条轮廓
dotted Defines a dotted outline
以点线表示的线条轮廓
dashed Defines a dashed outline
以分裂线表示的线条轮廓
solid Defines a solid outline
线形线条轮廓
double Defines two lines around the element. The width of the two lines are the same as the outline-width value
双线线条轮廓,宽度由outline-width的值指定
groove Defines a 3D grooved outline. The effect depends on the outline-color value
3D凹槽线条轮廓,效果由outline-color 的值决定
ridge Defines a 3D ridged outline. The effect depends on the outline-color value
3D棱纹线条轮廓,效果由outline-color 的值决定
inset Defines a 3D inset outline. The effect depends on the outline-color value
3D内嵌线条轮廓,效果由outline-color 的值决定
outset Defines a 3D outset outline. The effect depends on the outline-color value
3D突出线条轮廓。效果由outline-color 的值决定

评论 (0) All

登陆 | 还没注册?