CSS系统默认颜色

作者:aoao 来源:样式之美 时间:2009-01-04 16:53:00 

直接调用系统的颜色显示在网页上本来是件很好玩滴事,但是,也有个缺点,就是可用的色太少 比如Bindows在它的启动画面一点点应用。

=。= 上次本来想在某个产品上应用,结果给人BS了,原因是色不好看 囧rz

在css21 中 System Colors也有相关描述,CSS3还加了超链接的色,还有个flavor

但是,要有浏览器支持才是硬道理,浏览器不支持,虾米都回家睡觉。

附各色显示效果,如果看不到文字部分就像刮彩票一半刮开看一下,其中,Background 这个在safari 比较神奇,是透明哦。


CSS2.1中的System Colors

  • ActiveBorder

  • Active window border.

  • ActiveCaption

  • Active window caption.

  • AppWorkspace

  • Background color of multiple document interface.

  • Background

  • Desktop background. » test color:Background @aoao

  • ButtonFace

  • Face color for three-dimensional display elements.

  • ButtonHighlight

  • Highlight color for three-dimensional display elements (for edges facing away from the light source).

  • ButtonShadow

  • Shadow color for three-dimensional display elements.

  • ButtonText

  • Text on push buttons.

  • CaptionText

  • Text in caption, size box, and scrollbar arrow box.

  • GrayText

  • Grayed (disabled) text. This color is set to #000 if the current display driver does not support a solid gray color.

  • Highlight

  • Item(s) selected in a control.

  • HighlightText

  • Text of item(s) selected in a control.

  • InactiveBorder

  • Inactive window border.

  • InactiveCaption

  • Inactive window caption.

  • InactiveCaptionText

  • Color of text in an inactive caption.

  • InfoBackground

  • Background color for tooltip controls.

  • InfoText

  • Text color for tooltip controls.

  • Menu

  • Menu background.

  • MenuText

  • Text in menus.

  • Scrollbar

  • Scroll bar gray area.

  • ThreeDDarkShadow

  • Dark shadow for three-dimensional display elements.

  • ThreeDFace

  • Face color for three-dimensional display elements.

  • ThreeDHighlight

  • Highlight color for three-dimensional display elements.

  • ThreeDLightShadow

  • Light color for three-dimensional display elements (for edges facing the light source).

  • ThreeDShadow

  • Dark shadow for three-dimensional display elements.

  • Window

  • Window background.

  • WindowFrame

  • Window frame.

  • WindowText

  • Text in windows.

CSS3 新加的 User preferences for hyperlink colors

  • ActiveHyperlink

  • Active hyperlink background.

  • ActiveHyperlinkText

  • Text of an active hyperlink.

  • HoverHyperlink

  • Hover hyperlink background.

  • HoverHyperlinkText

  • Text of a hyperlink in the hover state.

  • Hyperlink

  • Hyperlink background.

  • HyperlinkText

  • Hyperlink text.

  • VisitedHyperlink

  • Visited hyperlink background.

  • VisitedHyperlinkText

  • Text of a visited hyperlink.

  • flavor

  • An accent color (typically chosen by the user) to customize the user interface of the user agent itself. User agents may default the ‘flavor’ color to the dominant accent color used on the physical machine/mechanism that the user is interacting with (frequently a mouse, keyboard, monitor and computer case, often just a laptop), if the UA is able to retrieve that information from the platform and machine. It is not expected that this value will make sense on all platforms and machines.

标签:颜色,css,浏览器,CSS2
0
投稿

猜你喜欢

  • asp,php,.net使用301重定向方法

    2007-09-26 14:05:00
  • Javascript:window对象出身何处

    2007-08-28 15:16:00
  • ASP和MYSQL开发网站的注意事项

    2009-08-21 13:23:00
  • JavaScript 判断日期格式是否正确的实现代码

    2011-07-05 12:37:44
  • HTML5 Canvas 起步(2) - 路径

    2009-05-12 12:06:00
  • asp如何让用户也能修改密码?

    2010-05-13 16:41:00
  • 小xiao说说创意图标设计心得

    2009-11-18 12:27:00
  • 用玩票的心态瞎猜豆瓣的思路

    2008-08-18 21:14:00
  • Rs.Open参数说明

    2008-05-12 22:43:00
  • FrontPage2002简明教程二:文字与图像的处理

    2008-09-17 11:13:00
  • Asp中Server.ScriptTimeOut脚本超时属性需要注意的一点

    2008-10-18 14:53:00
  • 网页设计者应当注意九大要点

    2007-08-10 13:30:00
  • IE window对象介绍

    2008-05-21 18:47:00
  • 您是否记得关闭所有的XHTML元素

    2009-07-13 12:17:00
  • 几个javascript特效代码

    2010-04-23 20:39:00
  • 网站设计输入了些什么?

    2008-04-01 09:30:00
  • Sql Server “因为文件组primary已满,未能为数据库XX对象XX分配空间”问题的解决

    2010-05-16 21:27:00
  • asp vbcrlf是什么意思

    2011-03-30 11:03:00
  • SQL Server数据库导入MySQL数据库体验

    2009-01-20 16:07:00
  • IE6终极备忘单——策略

    2010-01-13 13:05:00
  • asp之家 网络编程 m.aspxhome.com