snipt

Ctrl+h for KB shortcuts

HTML

Example of 4-column mobile grid for Gumby Framework

<!--
This is an example of a responsive switch from 12 columns, two 4 columns and
then 1 column, depending on screen width.
-->
<section class="row">
  <div class="three push_three mobile_two mobile_push_two columns">
    Column 1
  </div>
  <div class="three mobile_two mobile_first columns">
    Column 2
  </div>
  <div class="three mobile_two columns">
    Column 3
  </div>
</section>
https://snipt.net/embed/28003dc9c857ce1267b35813d6625310/
/raw/28003dc9c857ce1267b35813d6625310/
28003dc9c857ce1267b35813d6625310
html
HTML
15
2019-08-22T04:46:42
True
False
False
Aug 24, 2012 at 12:57 PM
/api/public/snipt/46255/
example-of-4-column-mobile-grid-for-gumby-framework
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1"> 1</a> <a href="#L-2"> 2</a> <a href="#L-3"> 3</a> <a href="#L-4"> 4</a> <a href="#L-5"> 5</a> <a href="#L-6"> 6</a> <a href="#L-7"> 7</a> <a href="#L-8"> 8</a> <a href="#L-9"> 9</a> <a href="#L-10">10</a> <a href="#L-11">11</a> <a href="#L-12">12</a> <a href="#L-13">13</a> <a href="#L-14">14</a> <a href="#L-15">15</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="c">&lt;!--</span> </span><span id="L-2"><a name="L-2"></a><span class="c">This is an example of a responsive switch from 12 columns, two 4 columns and</span> </span><span id="L-3"><a name="L-3"></a><span class="c">then 1 column, depending on screen width.</span> </span><span id="L-4"><a name="L-4"></a><span class="c">--&gt;</span> </span><span id="L-5"><a name="L-5"></a><span class="p">&lt;</span><span class="nt">section</span> <span class="na">class</span><span class="o">=</span><span class="s">&quot;row&quot;</span><span class="p">&gt;</span> </span><span id="L-6"><a name="L-6"></a> <span class="p">&lt;</span><span class="nt">div</span> <span class="na">class</span><span class="o">=</span><span class="s">&quot;three push_three mobile_two mobile_push_two columns&quot;</span><span class="p">&gt;</span> </span><span id="L-7"><a name="L-7"></a> Column 1 </span><span id="L-8"><a name="L-8"></a> <span class="p">&lt;/</span><span class="nt">div</span><span class="p">&gt;</span> </span><span id="L-9"><a name="L-9"></a> <span class="p">&lt;</span><span class="nt">div</span> <span class="na">class</span><span class="o">=</span><span class="s">&quot;three mobile_two mobile_first columns&quot;</span><span class="p">&gt;</span> </span><span id="L-10"><a name="L-10"></a> Column 2 </span><span id="L-11"><a name="L-11"></a> <span class="p">&lt;/</span><span class="nt">div</span><span class="p">&gt;</span> </span><span id="L-12"><a name="L-12"></a> <span class="p">&lt;</span><span class="nt">div</span> <span class="na">class</span><span class="o">=</span><span class="s">&quot;three mobile_two columns&quot;</span><span class="p">&gt;</span> </span><span id="L-13"><a name="L-13"></a> Column 3 </span><span id="L-14"><a name="L-14"></a> <span class="p">&lt;/</span><span class="nt">div</span><span class="p">&gt;</span> </span><span id="L-15"><a name="L-15"></a><span class="p">&lt;/</span><span class="nt">section</span><span class="p">&gt;</span> </span></pre></div> </td></tr></table>
"12 column", "4 column", "960 grid", css, framework, grid, gumby, klemetsson, mobile, zurb