朴素是辉煌的关键。
我在@media print
和@media screen
标签后面看到了一些感觉。
但是比较@media screen
到(@media all
而不是打印)会让我感到困惑。
该部门背后是否有任何意义:@media all
和@media screen
?
默认情况下,我更喜欢@media screen
,但可能会失败
案件 ?有什么好的例子吗?
答案 0 :(得分:2)
您将错过所有其他媒体类型(很少使用,但存在):
从w3c页面:
braille
Intended for braille tactile feedback devices.
embossed
Intended for paged braille printers.
handheld
Intended for handheld devices (typically small screen, limited bandwidth).
projection
Intended for projected presentations, for example projectors.
speech
Intended for speech synthesizers.
tty
Intended for media using a fixed-pitch character grid (such as teletypes, terminals, )
tv
Intended for television-type devices (low resolution, color, limited-scrollability screens, sound available).