• Stars
    star
    155
  • Rank 240,864 (Top 5 %)
  • Language
    Ruby
  • Created almost 12 years ago
  • Updated almost 12 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Micro responsive grid, that works in every browser!

Micro Responsive Grid

A tiny little responsive grid (32 lines of CSS), with a nestable 3 & 4 column setup.

Browser support

Tested in all browsers, minor stacking bug in IE7 at certain widths, but this is on the roadmap to fix, or send in those pull requests. This is still a work in progress, so would be great if you had any suggestions to make this as small as possible!

The developer

I'm Roy Barber, a 29 year old freelance designer and front end devloper from the UK. I occasionally write some articles here

Demo

Clickety click

Usage

It's easy to work out, but below is an example. When I get time I will improve these docs!

<div class="container">
    <div class="row">
        <div class="col three-one">3/1</div>
        <div class="col three-one">3/1</div>
        <div class="col three-one tablet-full last">3/1</div>
    </div>

    <div class="row">
		<div class="col four-one">4/1</div>
		<div class="col four-one">4/1</div>
		<div class="col four-one">4/1</div>
		<div class="col four-one last">4/1</div>
	</div>
</div>

.last is used only to fix a bug in IE7, .tablet-full is used to make the last column (or any) full width when it stacks on tablet's

License

Copyright 2013 Roy Barber - Licensed under the Apache License, Version 2.0.