twelve columns

one-half column

one-half column

two-thirds column.

one-quarter column

one-quarter column

one-quarter column

one-quarter column

three-quarters column

one-quarter column

one-fifth column

one-fifth column

one-fifth column

one-fifth column

one-fifth column

four-fifths column

one-fifth column

two-fifths column

three-fifths column

1

2

3

4

5

6

7

8

9

10

11

12

1

11

2

10

3

9

4

8

5

7

6

6

7

5

8

4

9

3

10

2

11

1

What is this?

The Code

HTML:

<section>
    <div class="row group">
        <div class="twelve columnn">
            <p>twelve column</p>
        </div>
    </div>
</section>

<section>
    <div class="row group">
        <div class="one-half column">
            <p>one-half column</p>
        </div>
        <div class="one-half column">
            <p>one-half column</p>
        </div>
    </div>
</section>

<section>
    <div class="row group">
        <div class="one column">
            <p>one column</p>
        </div>
        <div class="eleven columns">
            <p>eleven columns</p>
        </div>
    </div>
</section>

<section>
    <div class="row group">
        <div class="two columns">
            <p>two columns</p>
        </div>
        <div class="ten columns">
            <p>ten columns</p>
        </div>
    </div>
</section>

<section>
    <div class="row group">
        <div class="three columns">
            <p>three columns</p>
        </div>
        <div class="nine columns">
            <p>nine columns</p>
        </div>
    </div>
</section>

Etc...
                 
                    

CSS:

.container { 
	width: 960px; 
	margin: 0 auto; 
}

.row { 
	margin: 1em 0;	
}

.column, .columns { 
	float: left; 
	margin: 0 10px;
}

/* Base Grid */
.container .one.column,
.container .one.columns 	{ width: 60px; }
.container .two.columns 	{ width: 140px; }
.container .three.columns 	{ width: 220px; }
.container .four.columns 	{ width: 300px; }
.container .five.columns 	{ width: 380px; }
.container .six.columns 	{ width: 460px; }
.container .seven.columns 	{ width: 540px; }	
.container .eight.columns 	{ width: 620px; }
.container .nine.columns 	{ width: 700px; }
.container .ten.columns 	{ width: 780px; }	
.container .eleven.columns 	{ width: 860px; }	
.container .twelve.columns 	{ width: 940px; }



                    

Media Queries:

/* Desktop */
	/* FIXED WIDTH (default 960 Grid) */
 
/* Tablet */
@media (min-width: 768px) and (max-width: 959px) {
	/* FLUID w/ columns */
}

/* Mobile */
@media (max-width: 767px) {
	/* FLUID w/o columns (stacked) */
}   
                    

Clearfix:

.group:after {
  content: "";
  display: table;
  clear: both;
}