Created
February 24, 2015 10:21
-
-
Save piouPiouM/539f90d0b8fb13d42134 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.12) | |
// Compass (v1.0.3) | |
// ---- | |
.component { | |
margin-top: 10px; | |
@at-root .affects-component #{&} { | |
margin-top: 0; | |
} | |
// (piouPiouM) @at-root is useless: | |
.affects-component & { | |
margin-top: 0; | |
} | |
} |
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
.component { | |
margin-top: 10px; | |
} | |
.affects-component .component { | |
margin-top: 0; | |
} | |
.affects-component .component { | |
margin-top: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment