blob: c6da1617abe4455b2c524cd9bdbd1d31ce36f289 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
---
title: Media queries
slug: Web/CSS/Media_Queries
tags:
- CSS
- Media Queries
- NeedsTranslation
- Overview
- Reference
- TopicStub
translation_of: Web/CSS/Media_Queries
---
<p>{{CSSRef}}</p>
<p><strong>Media Queries</strong> is a module of CSS that defines expressions allowing to tailor presentations to a specific range of output devices without changing the content itself.</p>
<h2 id="Reference">Reference</h2>
<h3 id="At-rules">At-rules</h3>
<div class="index">
<ul>
<li>{{cssxref("@import")}}</li>
<li>{{cssxref("@media")}}</li>
</ul>
</div>
<h2 id="Guides">Guides</h2>
<dl>
<dt><a href="/en-US/docs/Web/CSS/Media_Queries/Using_media_queries">Using media queries</a></dt>
<dd>Presents what media queries are doing and explains the possible expressions.</dd>
<dt><a href="/en-US/docs/Web/CSS/Media_Queries/Testing_media_queries">Testing media queries</a></dt>
<dd>Explains how to test a media query programmatically, from JavaScript.</dd>
</dl>
<h2 id="Specifications">Specifications</h2>
<table class="standard-table">
<thead>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('CSS3 Conditional')}}</td>
<td>{{Spec2('CSS3 Conditional')}}</td>
<td> </td>
</tr>
<tr>
<td>{{SpecName('CSS4 Media Queries')}}</td>
<td>{{Spec2('CSS4 Media Queries')}}</td>
<td>
<p><br>
</p>
</td>
</tr>
<tr>
<td>{{SpecName('CSS3 Media Queries')}}</td>
<td>{{Spec2('CSS3 Media Queries')}}</td>
<td> </td>
</tr>
<tr>
<td>{{SpecName('CSS2.1', 'media.html')}}</td>
<td>{{Spec2('CSS2.1')}}</td>
<td> </td>
</tr>
</tbody>
</table>
<h2 id="Browser_compatibility" name="Browser_compatibility">Browser compatibility</h2>
{{Compat("css.at-rules.media")}}
|