Skip to content

Instantly share code, notes, and snippets.

@renatocarvalho
Created October 15, 2014 18:22
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 renatocarvalho/7a4b632043abb004d1dd to your computer and use it in GitHub Desktop.
Save renatocarvalho/7a4b632043abb004d1dd to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.4)
// Compass (v1.0.1)
// Susy (v2.1.3)
// ----
@import "susy";
// Loop!
// -----
@for $i from 1 to susy-get(columns) {
// use ".span-#{$i}" for non-silent classes
%span-#{$i} {
@include span($i);
}
}
%full {
@include full;
}
// Use it!
// -------
.random-thing {
@extend %span-1;
}
.random-thing {
width: 21.05263%;
float: left;
margin-right: 5.26316%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment