blob: 89c03f7438a9ed8527e4c51ddb34df05f730b1c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
---
title: StyleSheet.media
slug: Web/API/StyleSheet/media
translation_of: Web/API/StyleSheet/media
---
<div><font><font>{{APIRef ("CSSOM")}}</font></font></div>
<h2 id="Summary" name="Summary"><font><font>Résumé</font></font></h2>
<p><strong><font><font>Media</font></font></strong><font><font> spécifie le support de destination prévu pour les informations de style.</font></font></p>
<h2 id="Syntax" name="Syntax"><font><font>Syntaxe</font></font></h2>
<pre class="eval"><em><font><font>Medium</font></font></em><font><font> = stylesheet.media</font></font><font><font>
Stylesheet.media = </font></font><em><font><font>medium</font></font></em>
</pre>
<h2 id="Parameters" name="Parameters"><font><font>Paramètres</font></font></h2>
<ul>
<li><code>medium</code><font><font> Est une chaîne décrivant un seul moyen ou une liste séparée par des virgules.</font></font></li>
</ul>
<h2 id="Example" name="Example"><font><font>Exemple</font></font></h2>
<pre><font><font><Link rel = "StyleSheet" href = "document.css" type = "text / css" media = "screen" />
</font></font></pre>
<h2 id="Notes" name="Notes"><font><font>Remarques</font></font></h2>
<p><font><font>La valeur par défaut pour les médias est "écran".</font></font></p>
<h2 id="Specification" name="Specification"><font><font>spécification</font></font></h2>
<p><font><font>DOM Styles de niveau 2 - FEUILLE DE STYLES</font></font></p>
|