Skip to content

Instantly share code, notes, and snippets.

@gearsdigital
Created September 2, 2015 20:54
Show Gist options
  • Save gearsdigital/7918ad80150a7bfbc5aa to your computer and use it in GitHub Desktop.
Save gearsdigital/7918ad80150a7bfbc5aa to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
$columns: 12;
%grid {
float:left;
margin:0 4px;
}
@for $i from 1 through $columns {
%col-xs-#{$i} {
@extend %grid;
width: ($i / $columns) * 100%;
}
}
@for $i from 1 through $columns {
%col-xs-push-#{$i} {
@extend %grid;
left: ($i / $columns) * 100%;
}
}
.cart-page {
@extend %col-xs-4;
@extend %col-xs-push-4;
}
.cart-page {
float: left;
margin: 0 4px;
}
.cart-page {
width: 33.33333%;
}
.cart-page {
left: 33.33333%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment