Skip to content

Instantly share code, notes, and snippets.

@srikat
Last active August 29, 2015 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save srikat/c27cc8246c11675b6876 to your computer and use it in GitHub Desktop.
Save srikat/c27cc8246c11675b6876 to your computer and use it in GitHub Desktop.
/* ungrid
------------ */
@media (min-width: 30em) {
.row { width: 100%; display: table; table-layout: fixed; }
.col { display: table-cell; }
}
.container {
margin-right: -40px;
margin-left: -40px;
}
.row {
border-spacing: 40px 0;
}
.vam {
vertical-align: middle;
}
@media only screen and (max-width: 600px) {
.row,
.col {
display: block;
}
.container {
margin-right: 0;
margin-left: 0;
}
.row {
border-spacing: 0;
}
.first {
margin-bottom: 40px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment