Skip to content

Instantly share code, notes, and snippets.

@htmlzengarden
Last active August 29, 2015 14:17
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 htmlzengarden/8d422c717c874a3daf43 to your computer and use it in GitHub Desktop.
Save htmlzengarden/8d422c717c874a3daf43 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.12)
// Compass (v1.0.3)
// ----
$smash-prefix-framework: 'smash' !default;
@mixin smash-repeat($smash-select: '', $smash-i: 2)
{
@if $smash-i > 1
{
@include smash-repeat($smash-select, $smash-i - 1)
{
&.#{$smash-prefix-framework}#{$smash-select}
{
@content;
}
}
}
@else
{
&#{$smash-select}
{
@content;
}
}
}
.#{$smash-prefix-framework}
{
@include smash-repeat('-selector', 3)
{
color: black;
}
}
.smash-selector.smash-selector.smash-selector {
color: black;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment