反转颜色 | @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 |