Skip to content

Instantly share code, notes, and snippets.

@nazimjamil
Created November 14, 2015 21:18
Show Gist options
  • Select an option

  • Save nazimjamil/92a3aa7d6e1ed0d97713 to your computer and use it in GitHub Desktop.

Select an option

Save nazimjamil/92a3aa7d6e1ed0d97713 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<div class="block">
<div class="block__element">
<div class="block--modifer">Oh hai BEM</div>
</div>
</div>
// ----
// libsass (v3.2.5)
// ----
.block {
padding: 20px;
&__element {
position: absolute;
}
&--modifer {
color: red;
}
}
.block {
padding: 20px;
}
.block__element {
position: absolute;
}
.block--modifer {
color: red;
}
<div class="block">
<div class="block__element">
<div class="block--modifer">Oh hai BEM</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment