Skip to content

roybarber/micro-rwd-grid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Micro responsive grid, that works in every browser!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages