Stabilized

A responsive css boilerplate by Lightwell.

Below is a set of examples exploring some possible uses of this boilerplate. Keep in mind that it is for demonstration purposes. You can find the git repository on github at github.com/lightwell3d/Stabilized. Feel free to fork or contribute.

Contents


Grid Structure


Basic Grid (In Rows)

six cols

six cols

four cols

four cols

four cols

three cols

three cols

three cols

three cols

two cols

two cols

two cols

two cols

two cols

two cols

one col

one col

one col

one col

one col

one col

one col

one col

one col

one col

one col

one col

Basic Grid (Nested)

six cols

three cols

nine cols

six cols

six cols

three cols

three cols

Column Offsets

.eleven.columns.offset-by-one

.ten.columns.offset-by-two

.nine.columns.offset-by-three

.eight.columns.offset-by-four

.seven.columns.offset-by-five

.six.columns.offset-by-six

.five.columns.offset-by-seven

.four.columns.offset-by-eight

.three.columns.offset-by-nine

.two

.one

Centered Columns

If you have an even number of columns that need to be centered, you can use the "centered" class, or you can use column offsets. What about when you have an odd-sized column, though? You should stick to the "centered" class.

.three.columns.centered

.six.columns.centered

.nine.columns.centered

.twelve.columns.centered


Block Grid


This is an example of a block grid inside of a centered column within a row. Block grids are confined to the size of the parent element, so you can make and use a block grid anywhere within your website layout.


Visibility


.show-for-xlarge-only

.show-for-large-only

.show-for-medium-only

.show-for-small-only

.show-for-xsmall-only

.show-for-large-up

.show-for-medium-up

.show-for-small-up

.hide-for-large-up

.hide-for-medium-up

.hide-for-small-up


Typography


Headers

This is a <h1> header

This is a <h2> header

This is a <h3> header

This is a <h4> header

This is a <h5> header
This is a <h6> header

Even though the above examples are meant to demonstrate the typography of the header sizes, you should know that they also reveal a convenient way to center columns. Instead of using the "centered" class, you can just specify a column size and an offset size. For example, the columns which contain the header text above are ".eight.columns.offset-by-two". The two-column offset dissappears and the columns are displayed full-width when the screen gets narrow enough. Cool!

Body Text

Narwhal fashion axe Banksy, VHS banh mi farm-to-table keffiyeh Thundercats. Nostrud et tempor quis farm-to-table id bespoke. Vinyl YOLO pariatur, typewriter master cleanse dolor selvage incididunt Cosby sweater cillum gastropub fugiat. Occupy blog mollit, nesciunt synth narwhal plaid tofu. Nihil Intelligentsia DIY, Godard gentrify typewriter nisi vinyl swag blog. Delectus labore seitan, readymade occupy synth fixie selfies four loko meggings scenester aute Terry Richardson. Art party placeat bicycle rights, twee letterpress paleo voluptate cliche mumblecore kitsch elit artisan.

Fingerstache wolf VHS laboris, XOXO cupidatat selfies cillum quis pop-up voluptate Cosby sweater enim scenester pork belly. Church-key tousled keffiyeh pour-over you probably haven't heard of them lomo. Cillum cray Blue Bottle, sed slow-carb tattooed before they sold out proident labore mollit you probably haven't heard of them consectetur single-origin coffee Schlitz. Polaroid mollit magna sriracha selvage, XOXO locavore fingerstache excepteur American Apparel. Intelligentsia Schlitz cred pop-up, cliche lomo Odd Future synth cardigan bitters aliquip semiotics. Laborum gluten-free eiusmod, et eu asymmetrical dolore typewriter veniam Godard culpa direct trade reprehenderit iPhone church-key. Non tofu cornhole kitsch VHS, 3 wolf moon Vice occaecat Tumblr keytar lo-fi.

Cosby sweater sapiente, incididunt excepteur paleo pop-up polaroid dolore dreamcatcher vegan roof party food truck. Distillery quinoa deserunt direct trade cupidatat, aesthetic nihil ethnic VHS magna Cosby sweater. Dolore Neutra bitters food truck. Lomo nostrud exercitation, tempor before they sold out selfies try-hard Cosby sweater laboris High Life jean shorts food truck. Gentrify wayfarers commodo, aesthetic laboris sriracha dolore. Try-hard paleo fap Terry Richardson ethnic. Adipisicing elit Shoreditch keffiyeh sartorial, cray reprehenderit four loko American Apparel vegan Portland farm-to-table.

Aute sint semiotics squid, Bushwick banh mi vero. Skateboard aesthetic wolf typewriter Bushwick freegan, cred raw denim officia you probably haven't heard of them biodiesel. Shabby chic eiusmod Thundercats raw denim wayfarers sartorial chia bespoke. Irure cliche fugiat, authentic Terry Richardson cupidatat banh mi ullamco master cleanse wolf 90's. Incididunt gentrify PBR flexitarian 8-bit. Roof party Thundercats put a bird on it actually. Nostrud ullamco velit mollit Intelligentsia kitsch.