Skip to content

Instantly share code, notes, and snippets.

@superfine
Created March 16, 2017 16:42
Show Gist options
  • Select an option

  • Save superfine/cc03d412651c6055803b627e3ca78d8d to your computer and use it in GitHub Desktop.

Select an option

Save superfine/cc03d412651c6055803b627e3ca78d8d to your computer and use it in GitHub Desktop.
Class slug generator
// Create height spacer classes
// ========================================================================= */
$class-slug: cwt-gen !default;
@for $i from 0 through 50 {
.#{$class-slug}-#{$i} {
height: (1pt - 2) + $i;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment