Skip to content

Instantly share code, notes, and snippets.

@ericdouglas
Created February 19, 2014 13:44
Show Gist options
  • Select an option

  • Save ericdouglas/9092262 to your computer and use it in GitHub Desktop.

Select an option

Save ericdouglas/9092262 to your computer and use it in GitHub Desktop.
Create Columns - CSS
@media (min-width: 40rem) {
.column {
float: left;
padding-left: 1rem;
padding-right: 1rem;
}
.column.full {
width: 100%;
}
.column.two-thirds {
width: 66.7%;
}
.column.half {
width: 50%;
}
.column.third {
width: 33.3%;
}
.column.fourth {
width: 24.95%;
}
.column.flow-opposite {
float: right;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment