Skip to content

Instantly share code, notes, and snippets.

@PunchRockgroin
Created March 8, 2014 05:44
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 PunchRockgroin/23f174eaf2ad8446995f to your computer and use it in GitHub Desktop.
Save PunchRockgroin/23f174eaf2ad8446995f to your computer and use it in GitHub Desktop.
Gumby "semantic" columns
section{
@include row();
article{
@include column(6);
background: none repeat scroll 0 0 #FF0000;
}
@include respond(tablets){
article{
width:100%;
margin-left: 0;
background: none repeat scroll 0 0 #0000FF;
}
}
@include respond(all-phones){
> *:first-child {
margin-left: 0;
}
&:before,&:after{
content: "";
display: table;
}
&:after{
clear: both;
}
article{
-moz-box-sizing: border-box;
float: left;
margin-left: 2.12766%;
min-height: 1px;
position: relative;
background: none repeat scroll 0 0 #0000FF;
width: 48.9362%;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment