CSS参考手册
媒体查询 | Media Queries
反转颜色 | @media.inverted-colors
@media.inverted-colors
该inverted-colors
CSS @media
媒体功能可用于应用基础上,无论是款式用户代理或底层操作系统是反相颜色。
语法
该inverted-colors
功能被指定为从下面的列表中选择的关键字值。
none
颜色显示正常。inverted
显示区域内的所有像素都已倒置。
规范
Specification |
Status |
Comment |
---|---|---|
Media Queries Level 4The definition of 'inverted-colors' in that specification. |
Working Draft |
Deferred to Media Queries Level 5. |
浏览器兼容性
Feature |
Chrome |
Firefox (Gecko) |
Internet Explorer |
Opera |
Safari |
---|---|---|---|---|---|
Basic support |
No support |
No support |
No support |
No support |
No support |
Feature |
Android |
Firefox Mobile (Gecko) |
IE Mobile |
Opera Mobile |
Safari Mobile |
---|---|---|---|---|---|
Basic support |
No support |
No support |
No support |
No support |
No support |
媒体查询 | Media Queries相关
层叠样式表( Cascading Style Sheets )是一种用来表现 HTML 或 XML 等文件样式的计算机语言。CSS 不仅可以静态地修饰网页,还可以配合各种脚本语言动态地对网页各元素进行格式化。