Last active
February 11, 2016 13:27
-
-
Save cimmanon/91c3399dbec7a601b1f3 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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.21) | |
// Compass (v1.0.3) | |
// ---- | |
/* test one */ | |
.pfx { | |
&__one &{ | |
&__two { | |
color: red; | |
} | |
> &__two { | |
color: blue; | |
} | |
} | |
} | |
/* test two */ | |
.pfx2 { | |
// Isn't this | |
&__one & { | |
> &__two { | |
color: red; | |
} | |
} | |
// The same as this? | |
&__one > &__two { | |
color: blue; | |
} | |
// The latter produces the expected output, the former being the same as the example | |
} |
This file contains hidden or 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
/* test one */ | |
.pfx__one .pfx__two { | |
color: red; | |
} | |
> .pfx__one .pfx__two { | |
color: blue; | |
} | |
/* test two */ | |
> .pfx2__one .pfx2__two { | |
color: red; | |
} | |
.pfx2__one > .pfx2__two { | |
color: blue; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment