color-index:<integer>
接受min/max前缀:是
0
min和max前缀,因此可以派生出min-color-index和max-color-index两个媒体特性。
简单列举几个应用示例:
@media screen and (color-index){ … }
@import url(example.css) screen and (min-color-index: 1);
| Values | IE | Firefox | Chrome | Safari | Opera | iOS Safari | Android Browser | Android Chrome |
|---|---|---|---|---|---|---|---|---|
| Basic Support | 8.0 | 40.0 | 40.0+ | 8.0+ | 40.0+ | 8.0+ | 4.4+ | 28.0+ |
| 9.0+ |