Created
July 18, 2014 08:01
-
-
Save cancer/3d53e826ea0ee4c5b05b to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.3.10) | |
// Compass (v1.0.0.alpha.20) | |
// ---- | |
/* 1 */ | |
.list { | |
%list__item { | |
background: limegreen; | |
} | |
&__item--mod1, | |
&__item--mod2 { @extend %list__item; } | |
} | |
/* 2 */ | |
%list-item { | |
background: tomato; | |
} | |
.list { | |
&__item { @extend %list-item; } | |
&__item--mod1, | |
&__item--mod2 { @extend %list-item; } | |
} | |
/* 3 */ | |
.list { | |
@at-root { | |
%list__item { | |
background: plum; | |
} | |
} | |
&__item--mod1, | |
&__item--mod2 { @extend %list__item; } | |
} | |
/* 4 */ | |
.list { | |
@at-root { | |
%list__item { | |
background: plum; | |
} | |
&__item--mod1, | |
&__item--mod2 { @extend %list__item; } | |
} | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 1 */ | |
.list .list__item--mod1, .list .list__item--mod2 { | |
background: limegreen; | |
} | |
/* 2 */ | |
.list__item, .list__item--mod1, .list__item--mod2 { | |
background: tomato; | |
} | |
/* 3 */ | |
.list__item--mod1, .list__item--mod2 { | |
background: plum; | |
} | |
/* 4 */ | |
.list__item--mod1, .list__item--mod2 { | |
background: plum; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment