Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Nope, you're right. Anything that's LESS THAN 480px will load the <code>styles.css</code> for these media queries, courtesy of the <code>min-width</code> settings on the media queries:</p> <pre><code>&lt;!-- For all browsers --&gt; &lt;link rel="stylesheet" href="css/style.css"&gt; &lt;link rel="stylesheet" media="print" href="css/print.css"&gt; &lt;!-- For progressively larger displays --&gt; &lt;link rel="stylesheet" media="only screen and (min-width: 480px)" href="css/480.css"&gt; &lt;link rel="stylesheet" media="only screen and (min-width: 600px)" href="css/600.css"&gt; &lt;link rel="stylesheet" media="only screen and (min-width: 768px)" href="css/768.css"&gt; &lt;link rel="stylesheet" media="only screen and (min-width: 992px)" href="css/992.css"&gt; </code></pre> <p>So with the device widths, the designs for 0 - 480px (including 320px) will go in <code>style.css</code></p> <p>480 to 600 = <code>480.css</code></p> <p>600 to 768 = <code>600.css</code></p> <p>768 to 992 = <code>768.css</code></p> <p>992+ = <code>992.css</code></p> <p>But if you want to have more fine-grain controls over the 320 resolution you can add another media query:</p> <p><code>&lt;link rel="stylesheet" media="only screen and (min-width: 320px)" href="css/320.css"&gt;</code></p> <p>and then create the <code>320.css</code> stylesheet in the css directory. This sheet will be good for resolutions 320 - 480. Which means that now anything less than 320 will load <code>style.css</code>.</p> <p>I think the idea of leaving that resolution out is that you'd create some a fluid or flexible layout that would work for both resolutions...</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload