Skip to content

Instantly share code, notes, and snippets.

@thepian
Created February 11, 2016 15:19
Show Gist options
  • Select an option

  • Save thepian/70ed200bfd611bdaa82b to your computer and use it in GitHub Desktop.

Select an option

Save thepian/70ed200bfd611bdaa82b to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
@mixin breaker($compact-selector) {
#{$compact-selector} & {
@content
}
}
.general {
@include breaker("html.compact") {
.specific {
display: block;
}
}
}
@include breaker("html.compact") {
.specific {
display: block;
}
}
html.compact .general .specific {
display: block;
}
html.compact .specific {
display: block;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment