1.0.0 • Published 8 years ago

skeleton-css-grid v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

Skeleton CSS - Grid Component

A dead simple, responsive grid system for CSS and Sass.

Skeleton is great and provides the required styling to kickstart any responsive project.

This package contains the responsive grid component for use in any project without messing the existing style.

Example:

<!-- .container is main centered wrapper -->
<div class="container">

  <!-- columns should be the immediate child of a .row -->
  <div class="row">
    <div class="one column">One</div>
    <div class="eleven columns">Eleven</div>
  </div>

  <!-- just use a number and class 'column' or 'columns' -->
  <div class="row">
    <div class="two columns">Two</div>
    <div class="ten columns">Ten</div>
  </div>

  <!-- there are a few shorthand columns widths as well -->
  <div class="row">
    <div class="one-third column">1/3</div>
    <div class="two-thirds column">2/3</div>
  </div>
  <div class="row">
    <div class="one-half column">1/2</div>
    <div class="one-half column">1/2</div>
  </div>

</div>

<!-- Note: columns can be nested, but it's not recommended since Skeleton's grid has %-based gutters, meaning a nested grid results in variable with gutters (which can end up being *really* small on certain browser/device sizes) -->

Licensed under MIT All credits go to original Skeleton project.