Goes from one grid__item
on small screens to five grid__item
's on larger screens.
Class | Description |
---|---|
grid--five |
Used on parent element |
grid__item |
Used on each individual child element of grid--five |
<div class="grid--five">
<div class="grid__item">Grid column 1. Example text to show how the coluns breaks on smaller screens.</div>
<div class="grid__item">Grid column 2. Example text to show how the coluns breaks on smaller screens.</div>
<div class="grid__item">Grid column 3. Example text to show how the coluns breaks on smaller screens.</div>
<div class="grid__item">Grid column 3. Example text to show how the coluns breaks on smaller screens.</div>
<div class="grid__item">Grid column 3. Example text to show how the coluns breaks on smaller screens.</div>
</div>
Goes from one grid__item
on small screens to four grid__item
's on larger screens.
Class | Description |
---|---|
grid--four |
Used on parent element |
grid__item |
Used on each individual child element of grid--four |
<div class="grid--four">
<div class="grid__item">Grid column 1. Example text to show how the coluns breaks on smaller screens.</div>
<div class="grid__item">Grid column 2. Example text to show how the coluns breaks on smaller screens.</div>
<div class="grid__item">Grid column 3. Example text to show how the coluns breaks on smaller screens.</div>
<div class="grid__item">Grid column 3. Example text to show how the coluns breaks on smaller screens.</div>
</div>
Goes from one grid__item
on small screens to three grid__item
's on larger screens
Class | Description |
---|---|
grid--three |
Used on parent element |
grid__item |
Used on each individual child element of grid--three |
<div class="grid--three">
<div class="grid__item">Grid column 1. Example text to show how the coluns breaks on smaller screens.</div>
<div class="grid__item">Grid column 2. Example text to show how the coluns breaks on smaller screens.</div>
<div class="grid__item">Grid column 3. Example text to show how the coluns breaks on smaller screens.</div>
</div>
Custom grid for use with instagram widget.
Selector | Desc |
---|---|
grid-instagram |
Parent selector |
grid__item |
Child selector |
grid--item |
Alternative to grid__item |
<div class="grid-instagram">
<div class="grid__item">
<a href="JavaScript:void(0)" class="instagram">
<img src="../assets/img/insta-1.jpg" alt="">
<div class="overlay"><span class="hearts">20</span></div>
</a>
</div>
<div class="grid__item">
<a href="JavaScript:void(0)" class="instagram">
<img src="../assets/img/insta-2.jpg" alt="">
<div class="overlay"><span class="hearts">12</span></div>
</a>
</div>
<div class="grid__item">
<a href="JavaScript:void(0)" class="instagram">
<img src="../assets/img/insta-3.jpg" alt="">
<div class="overlay"><span class="hearts">4</span></div>
</a>
</div>
<div class="grid__item">
<a href="JavaScript:void(0)" class="instagram">
<img src="../assets/img/insta-4.jpg" alt="">
<div class="overlay"><span class="hearts">43</span></div>
</a>
</div>
<div class="grid__item">
<a href="JavaScript:void(0)" class="instagram">
<img src="../assets/img/insta-5.jpg" alt="">
<div class="overlay"><span class="hearts">2</span></div>
</a>
</div>
<div class="grid__item">
<a href="JavaScript:void(0)" class="instagram">
<img src="../assets/img/insta-6.jpg" alt="">
<div class="overlay"><span class="hearts">5</span></div>
</a>
</div>
<div class="grid__item">
<a href="JavaScript:void(0)" class="instagram">
<img src="../assets/img/insta-7.jpg" alt="">
<div class="overlay"><span class="hearts">34</span></div>
</a>
</div>
</div>
<ul class="list-teaser grid-list">
<li class="list__item">
<p>DIPS vant Helse Nord anbudet. 9.3.2012 ble det offentliggjort at DIPS vant 3 av 4 systemområder som det var levert anbudsbesvarelse på. DIPS ble valgt som leverandør av EPJ/PAS, Lab og Elektronisk rekvirering av laboratorietjenester.</p>
</li>
<li class="list__item">
<p>DIPS vant Helse Nord anbudet. 9.3.2012 ble det offentliggjort at DIPS vant 3 av 4 systemområder som det var levert anbudsbesvarelse på. DIPS ble valgt som leverandør av EPJ/PAS, Lab og Elektronisk rekvirering av laboratorietjenester.</p>
</li>
<li class="list__item">
<p>DIPS vant Helse Nord anbudet. 9.3.2012 ble det offentliggjort at DIPS vant 3 av 4 systemområder som det var levert anbudsbesvarelse på. DIPS ble valgt som leverandør av EPJ/PAS, Lab og Elektronisk rekvirering av laboratorietjenester.</p>
</li>
</ul>
Description.
<div class="grid--one-two">
<main class="grid__item">Grid column 1. Example text to show how the coluns breaks on smaller screens.</main>
<aside class="grid__item">Grid column 2. Example text to show how the coluns breaks on smaller screens.</aside>
</div>
Similar to three column grid, but without gutter and space on all sizes except really small displays.
<div class="grid--three--nogutter">
<div class="grid__item">Grid column 1. Example text to show how the coluns breaks on smaller screens.</div>
<div class="grid__item">Grid column 2. Example text to show how the coluns breaks on smaller screens.</div>
<div class="grid__item">Grid column 3. Example text to show how the coluns breaks on smaller screens.</div>
</div>
Special grid for three tiles on one row.
<div class="container grid-tile">
<div class="section__main tile-wrapper">
<article class="tile green grid__item">
Tile one
</article>
<article class="tile green grid__item">
Tile two
</article>
<article class="tile green grid__item">
Tile three
</article>
</div>
</div>
Two column grid that breaks down to one column on smaller sceens
<div class="grid--two">
<div class="grid__item">Grid column 1. Example text to show how the coluns breaks on smaller screens.</div>
<div class="grid__item">Grid column 2. Example text to show how the coluns breaks on smaller screens.</div>
</div>
Description.
<div class="grid--two-one">
<main class="grid__item">Grid column 1. Example text to show how the coluns breaks on smaller screens.</main>
<aside class="grid__item">Grid column 2. Example text to show how the coluns breaks on smaller screens.</aside>
</div>