Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>At a basic level, you can <a href="https://github.com/twitter/bootstrap/blob/master/less/responsive-767px-max.less#L59" rel="nofollow">mimic the Bootstrap method</a>:</p> <pre><code>// // Responsive: Landscape phone to desktop/tablet // -------------------------------------------------- @media (max-width: 767px) { // GRID &amp; CONTAINERS // ----------------- // Remove width from containers .container { width: auto; } // Fluid rows .row-fluid { width: 100%; } // Make all grid-sized elements block level again [class*="span"], .row-fluid [class*="span"] { float: none; display: block; width: 100%; margin-left: 0; .box-sizing(border-box); } .span12, .row-fluid .span12 { width: 100%; .box-sizing(border-box); } } </code></pre> <p>Which of course is <a href="http://lesscss.org/" rel="nofollow">LESS CSS</a>. This is the compiled LESS:</p> <pre><code>[class*="span"], .row-fluid [class*="span"] { -moz-box-sizing: border-box; display: block; float: none; margin-left: 0; width: 100%; } </code></pre> <p>And here is a small snippet that begins the task of replicating this:</p> <pre><code>@media all and (min-width: 1000px) { [class*="span"], .row-fluid [class*="span"] { width: 100%; } } </code></pre> <p><a href="http://jsfiddle.net/userdude/ZJJFJ/1/" rel="nofollow">http://jsfiddle.net/userdude/ZJJFJ/1/</a></p> <p>There's also a <a href="https://github.com/twitter/bootstrap/blob/master/less/responsive-1200px-min.less" rel="nofollow">responsive CSS file for greater than 1200px</a>, which may also be helpful. If you do this with LESS, I'm sure it will be simpler as well, instead of pure CSS.</p>
    singulars
    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