什么是media =“screen”是什么意思? [英] What does media="screen" mean in css?
本文介绍了什么是media =“screen”是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在下面的css代码中,media =screen是什么意思?
< style type =text / css media =screen>
解决方案
媒体属性的目标是让您
最常用的是有2组样式,1组用于显示(屏幕),1组用于打印(打印) / p>
通常在打印css我会做的东西,比如隐藏按钮,剥离无关的图像,广告等等。基本上,使其8.5x11友好。 p>
What does media="screen" mean in the below css code?
<style type="text/css" media="screen">
解决方案
The goal of the media attribute is to allow you to specify different styles for different methods of display.
Most commonly I use this to have 2 sets of styles, 1 for display (screen) and 1 for printing (print)
Normally on the "print" css I'll do things like hide buttons, strip out extraneous images, ads, etc etc. Basically, make it 8.5x11 friendly.
这篇关于什么是media =“screen”是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文