如何使用 CSS 指定文档语言内的目标媒体
原创
要指定目标媒体,请使用媒体属性 -
示例
<style> <!-- <!doctype html public "-//w3c//dtd html 4.0//en"> <html> <head> <title>link to a target medium</title> <link rel="stylesheet" type="text/css" media="print, handheld" href="foo.css"> </head> <body> <p>the body... </body> </html> --> </style>
以上就是如何使用 CSS 指定文档语言内的目标媒体的详细内容,更多请关注IT视界其它相关文章!
上一篇:使用 CSS 实现动画效果的弹跳 下一篇:使用 CSS 淡出右侧动画效果