Forked from vincent-valentin/SassMeister-input.scss
Last active
March 31, 2018 11:40
-
-
Save yoanmalie/5646a34165832c91ad79be63049be2ef 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.21) | |
// Compass (v1.0.3) | |
// ---- | |
@mixin tag($elt) { | |
@at-root #{$elt}#{&} { | |
@content; | |
} | |
} | |
.foo { | |
@include tag(fum) { | |
bar: baz; | |
} | |
} | |
.media { | |
background-color: lightgray; | |
@include tag(form) { | |
border: 1px solid; | |
} | |
} |
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
fum.foo { | |
bar: baz; | |
} | |
.media { | |
background-color: lightgray; | |
} | |
form.media { | |
border: 1px solid; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment