示例代码:
@media screen and (min-resolution: 96dpi) { ... }
@media print and (min-resolution: 300dpi) { ... }
IE | Firefox | Chrome | Safari | Opera | iOS Safari | Android Browser | Android Chrome |
---|---|---|---|---|---|---|---|
6.0-8.0 | 2.0-3.4 | 4.0-28.0 | 3.1-8.1 | 15.0+ | 3.2-8.1 | 2.1-4.4.4 | 18.0-29.0 |
9.0+ | 3.5+ | 29.0+ | 29.0+ |