Don't Overthink It Grids

A Pen By Captain Anonymous

Pen Settings

↑ Insert the most common viewport meta tag

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource
via CSS Lint

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource
via JS Hint

Code Indentation


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Want a Run Button?

If active, the preview will update automatically when you change code.


              <div class="grid">
   <div class="col-2-3">
     <div class="module">
				<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque quis ante tortor. Etiam adipiscing nulla ultricies nisl faucibus ultrices sodales dolor pellentesque. Nulla facilisi. Nulla hendrerit magna sit amet libero imperdiet pellentesque. In quis turpis massa. Nulla ac mollis ligula. In sed nibh commodo nisl eleifend hendrerit. Vestibulum rutrum bibendum pretium. Fusce vestibulum elit ut lacus fermentum viverra. Mauris ac quam dui, ac tempor dolor. Nulla quis convallis urna. Quisque a nisi ut tellus dictum tristique id id dolor. Nam dictum hendrerit diam, id ultricies sapien venenatis sit amet. Nulla eu dui nec est vestibulum viverra a vel lorem. Sed sed quam quis augue blandit sodales.

Cras suscipit sapien eu lorem sodales auctor. Sed sagittis nibh diam. Nulla facilisi. Fusce quis tellus nibh, sit amet lobortis mauris. Nunc eget lectus non massa commodo interdum. Integer blandit, odio quis convallis vestibulum, tellus libero sagittis ligula, in egestas tortor magna a quam. Donec porta, ipsum ut aliquam sagittis, lorem eros congue risus, ut congue arcu justo ut justo. Nullam sodales tellus eu ante tincidunt et ullamcorper augue facilisis. Ut id ornare quam. Cras pellentesque ipsum quis quam suscipit sagittis. Fusce consequat tincidunt ante, id placerat augue posuere sed. Aenean sed velit quis erat sodales pellentesque at a leo. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce molestie tincidunt massa et tempus. Quisque eu est ac risus tempor iaculis a eu mi.</p>	
   <div class="col-1-3">
     <div class="module">
				<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies</p>	


              @import "compass/css3";

* {
  @include box-sizing(border-box);

$pad: 20px;

.grid {
  background: white;
  margin: 0 0 $pad 0;
  &:after {
    /* Or @extend clearfix */
    content: "";
    display: table;
    clear: both;

[class*='col-'] {
	float: left;
  padding-right: $pad;
  .grid &:last-of-type {
  	padding-right: 0;
.col-2-3 {
	width: 66.66%;
.col-1-3 {
	width: 33.33%;

.module {
  padding: $pad;
  background: #ccc;

body {
	padding: 10px 50px 200px;
h1 {
  color: white;
  em {
  	color: #666;
    font-size: 16px;


Loading ..................