Skip to content

Instantly share code, notes, and snippets.

@cimmanon
Created October 30, 2015 21:04
Show Gist options
  • Save cimmanon/baecd553dc03025b94dc to your computer and use it in GitHub Desktop.
Save cimmanon/baecd553dc03025b94dc to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<button class='drpDwnRp'>Select...<span class='caret'></span></button>
<ul class='dropdown-menu'>
<li><a><i class='glyphicon glyphicon-ok'></i>SELECT All</a></li>
<li><a><i class='glyphicon glyphicon-remove'></i>DELETE All</a></li>
<li class='divider'></li>
<li><a>LIST here</li>
</ul>
// ----
// Sass (v3.4.14)
// Compass (v1.0.3)
// ----
.projects{
/*Rules*/
@at-root #{&}__project{
/* I want those rules here to be applyed to everything that has
projects__project in the class name */
@at-root #{&}--modifier1 {
/*Those rules only apply to .projects__project--modifier1 */
}
}
}
.projects {
/*Rules*/
}
.projects__project {
/* I want those rules here to be applyed to everything that has
projects__project in the class name */
}
.projects__project--modifier1 {
/*Those rules only apply to .projects__project--modifier1 */
}
<button class='drpDwnRp'>Select...<span class='caret'></span></button>
<ul class='dropdown-menu'>
<li><a><i class='glyphicon glyphicon-ok'></i>SELECT All</a></li>
<li><a><i class='glyphicon glyphicon-remove'></i>DELETE All</a></li>
<li class='divider'></li>
<li><a>LIST here</li>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment