Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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