Skip to content

Instantly share code, notes, and snippets.

@vincent-valentin
Last active March 31, 2018 15:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save vincent-valentin/41b7cf6ac5c2ba9edb62eab1acc77d4e to your computer and use it in GitHub Desktop.
Save vincent-valentin/41b7cf6ac5c2ba9edb62eab1acc77d4e to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.21)
// Compass (v1.0.3)
// ----
@mixin combine-with($element) {
@at-root {
#{$element}#{&} {
@content;
}
}
}
.media {
background-color: lightgray;
@include combine-with('form') {
border: 1px solid;
}
}
.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