Skip to content

Instantly share code, notes, and snippets.

@alexbilbie
Created September 30, 2011 10:55
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 alexbilbie/027664f20b09df0fc01a to your computer and use it in GitHub Desktop.
Save alexbilbie/027664f20b09df0fc01a to your computer and use it in GitHub Desktop.
grid.css media query unfloater
media only screen and (max-width: 767px)
{
.container
{
width: auto;
}
.container .grid_1,
.container .grid_2,
.container .grid_3,
.container .grid_4,
.container .grid_5,
.container .grid_6,
.container .grid_7,
.container .grid_8,
.container .grid_9,
.container .grid_10,
.container .grid_11,
.container .grid_12
{
float: none !important;
width: auto !important;
margin: 0;
display: block;
}
.push_1,
.push_2,
.push_3,
.push_4,
.push_5,
.push_6,
.push_7,
.push_8,
.push_9,
.push_10,
.push_11,
.push_1,
.pull_1,
.pull_2,
.pull_3,
.pull_4,
.pull_5,
.pull_6,
.pull_7,
.pull_8,
.pull_9,
.pull_10,
.pull_11,
.pull_12
{
left: auto !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment