Skip to content

Instantly share code, notes, and snippets.

@twfarland
Created July 11, 2017 17:35
Show Gist options
  • Save twfarland/eb0877b7f4ed5a109878546eaf36f707 to your computer and use it in GitHub Desktop.
Save twfarland/eb0877b7f4ed5a109878546eaf36f707 to your computer and use it in GitHub Desktop.
columns.css
@media (min-width:768px) {
.r {
clear: left;
}
.r:before, .r:after {
content: "";
display: table;
}
.r:after {
clear: both;
}
.c {
float: left;
}
.c25 {
width: 25%;
}
.c50 {
width: 50%;
}
.c75 {
width: 75%;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment