From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/zh-cn/web/api/stylesheet/media/index.html | 35 +++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 files/zh-cn/web/api/stylesheet/media/index.html (limited to 'files/zh-cn/web/api/stylesheet/media/index.html') diff --git a/files/zh-cn/web/api/stylesheet/media/index.html b/files/zh-cn/web/api/stylesheet/media/index.html new file mode 100644 index 0000000000..c82286e57c --- /dev/null +++ b/files/zh-cn/web/api/stylesheet/media/index.html @@ -0,0 +1,35 @@ +--- +title: StyleSheet.media +slug: Web/API/StyleSheet/media +translation_of: Web/API/StyleSheet/media +--- +
{{APIRef("CSSOM")}}
+ +

概述

+ +

media specifies the intended destination medium for style information.

+ +

语法

+ +
medium = stylesheet.media
+stylesheet.media =medium
+
+ +

参数

+ + + +

示例

+ +
<link rel="StyleSheet" href="document.css" type="text/css" media="screen" />
+
+ +

注意

+ +

The default value for media is "screen."

+ +

Specification

+ +

DOM Level 2 Styles - STYLESHEET

-- cgit v1.2.3-54-g00ecf