Skip to content

Instantly share code, notes, and snippets.

@srikat
Last active Aug 29, 2015
Embed
What would you like to do?
/* 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