|
<!-- Intro --> |
|
<section class="section"> |
|
<h1>Scss Flexbox Grid</h1> |
|
<p>This is the documentation for the Scss Flexbox grid, based on the <a href="http://flexboxgrid.com/" target="_blank">flexboxgrid website</a>. </p> |
|
<p> The goal of Scss Flexbox Grid is to provide the same level of functionality and documentation as the original CSS flexbox grid, but with the functionality and power of Scss. </p> |
|
</section> |
|
<section class="section"> |
|
<h2>Contents</h2> |
|
<ol> |
|
<li><a href="#Installation">Installation</a></li> |
|
<li><a href="#Documentation">Documentation</a></li> |
|
<li><a href="#Contributing">Contributing</a></li> |
|
<li><a href="#License">License</a></li> |
|
</ol> |
|
</section> |
|
<section id="Installation" class="section"> |
|
<h2>Installation</h2> |
|
<p>As of right now, Scss Flexbox Grid doesn't have a dedicated repo. If you want to install it to your project, you'll have to access the Scss right here on codepen.</p> |
|
</section> |
|
|
|
<section id="Documentation" class="section"> |
|
<h2>Documentation</h2> |
|
<p>Scss Flexbox Grid is organized of two main containers and a few modifiers.</p> |
|
</section> |
|
|
|
<section class="doc-section"> |
|
<h2>Rows</h2> |
|
<p class="close">Rows contain the collumn classes, and their primary job is to serve as a collumn container. Rows have a few different attribute classes for altering the position of the row and its contents. </p> |
|
<p>Define a row by adding the row class to a div</p> |
|
<pre><div class="<span>row</span>"></div> |
|
</pre> |
|
</section> |
|
|
|
<section class="doc-section"> |
|
<h2>Reverse Row</h2> |
|
<p class="close">To reverse a row, add the reverse row attribute onto the row class</p> |
|
<p>Define a row by adding the row class to a div</p> |
|
<pre><div class="<span>row</span>"></div> |
|
</pre> |
|
</section> |
|
|
|
<section class="doc-section"> |
|
<h2>Collumns</h2> |
|
<p class="close">Collumns are classes which are active only in rows. They define a </p> |
|
</section> |
|
|
|
<!-- Documentation --> |
|
<h2>Scss Flexbox Grid Basics</h2> |
|
|
|
<p>Simple flexbox collumns</p> |
|
|
|
<div class="row"> |
|
<div class="col">.col</div> |
|
<div class="col">.col</div> |
|
<div class="col">.col</div> |
|
</div> |
|
|
|
<p>Collumns adapt to sizing restraints</p> |
|
|
|
<div class="row"> |
|
<div class="col-6">.col-6</div> |
|
<div class="col">.col</div> |
|
<div class="col">.col</div> |
|
</div> |
|
|
|
<p>Collumns can adapt to custom layouts</p> |
|
|
|
<div class="row align-h-left"> |
|
<div class="col-8">.col-8</div> |
|
</div> |
|
|
|
<div class="row align-h-right"> |
|
<div class="col-8">.col-8</div> |
|
</div> |
|
|
|
<p>Collumns can adapt to different devices</p> |
|
|
|
<div class="row"> |
|
<div class="col-md-6 col-lg-12">.col-md-6 .col-lg-12</div> |
|
<div class="col-md-6 col-lg-12">.col-md-6 .col-lg-12</div> |
|
</div> |
|
<br><br> |
|
|
|
<div id="test">test</div> |