-
-
Save nex3/72891019cc9443b9475368bf4986b74c 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
@mixin some-component-a { | |
.some-component { | |
display: inline; | |
body[lang='fr'] & div { | |
display: flex; | |
} | |
& div { | |
display: block; | |
} | |
&__span { | |
display: inline-block; | |
} | |
} | |
} | |
html[brand="a"] { | |
@include some-component-a(); | |
} |
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
html[brand=a] .some-component { | |
display: inline; | |
} | |
body[lang=fr] html[brand=a] .some-component div { | |
display: flex; | |
} | |
html[brand=a] .some-component div { | |
display: block; | |
} | |
html[brand=a] .some-component__span { | |
display: inline-block; | |
} |
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": { | |
"compiler": "dart-sass/1.26.11", | |
"extensions": {}, | |
"syntax": "SCSS", | |
"outputStyle": "expanded" | |
}, | |
"autoprefixer": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment