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

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

CSS outline-color属性


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

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

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

Inherited: No
继承性:无

举例

button

outline-color: red
}

可用值

描述
invert Performs a color inversion. This is a trick to ensure the border is visible, regardless of color background
执行颜色倒置。这是保证边框能够显示的策略,可以不用考虑背景颜色
color The color value can be a color name (red), a rgb value (rgb(255,0,0)), or a hex number (#ff0000)
color值可以为颜色的名称(red)rgb值(rgb(255,0,0))或是十六进制数字(#ff0000)

评论 (0) All

登陆 | 还没注册?