mozilla

Compare Revisions

CSS media queries

Change Revisions

Revision 379817:

Revision 379817 by Dbs on

Revision 379889:

Revision 379889 by Dbs on

Title:
CSS media queries
CSS media queries
Slug:
CSS/Media_queries
CSS/Media_queries
Tags:
"NeedsMobileBrowserCompatibility", "CSS Reference", "NeedsBrowserCompatibility", "css", "Responsive Design", "Media queries"
"NeedsMobileBrowserCompatibility", "CSS Reference", "NeedsBrowserCompatibility", "css", "Responsive Design", "Media queries"
Content:

Revision 379817
Revision 379889
tt16    <pre>
17<code class="brush: html">&lt;!-- CSS media query on a link eleme
 >nt --&gt;
18</code>&lt;link rel="stylesheet" media="(max-width: 800px)" href=
 >"example.css" /&gt;
19 
20<code class="brush: html">&lt;!-- CSS media query within a style 
 >sheet --&gt;
21&lt;style&gt;
22@media (max-width: 600px) {
23  .facet_sidebar {
24    display: none;
25  }
26}
27&lt;/style&gt;</code>
28</pre>

Back to History