Created
August 3, 2015 10:14
-
-
Save OlivierPerceboisGarve/3c43869d57050a61ca83 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.14) | |
// Compass (v1.0.3) | |
// ---- | |
@mixin foobar() { | |
@if & == span { | |
outline: 1px solid red; | |
} @else { | |
outline: 1px solid blue; | |
} | |
} | |
.bar { | |
@include foobar(); | |
} | |
span.baz{ | |
@include foobar(); | |
} |
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
.bar { | |
outline: 1px solid blue; | |
} | |
span.baz { | |
outline: 1px solid blue; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment