Created
October 24, 2014 08:00
-
-
Save ama-ch/d560502a3a9013e98316 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.4.6) | |
// Compass (v1.0.1) | |
// ---- | |
.block1 { | |
&__element { | |
color: red; | |
&--modifier { | |
color: blue; | |
} | |
} | |
} | |
.block2 { | |
#{&}__element { | |
color: red; | |
#{&}--modifier { | |
color: blue; | |
} | |
} | |
} |
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
.block1__element { | |
color: red; | |
} | |
.block1__element--modifier { | |
color: blue; | |
} | |
.block2 .block2__element { | |
color: red; | |
} | |
.block2 .block2__element .block2 .block2__element--modifier { | |
color: blue; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment