Skip to content

Instantly share code, notes, and snippets.

@mupt
Created April 21, 2015 17:40
Show Gist options
  • Save mupt/05e9151777b3e7ad1fea to your computer and use it in GitHub Desktop.
Save mupt/05e9151777b3e7ad1fea to your computer and use it in GitHub Desktop.
<div class="section section--info">
<h2 class="section__header"></h2>
</div>
AND
.section {
display: block;
}
.section__header {
font-size: 12em;
}
.section--info {
background: color: purple;
}
or
<div class="section section--info">
<h2 class="section__header section__header--info"></h2>
</div>
.section {
display: block;
}
.section__header {
font-size: 12em;
}
.section--info {
background: color: purple;
}
.section__header--info {
color: red;
}
Does every MODIFIER need to exist for each ELEMENT inside of the BLOCK?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment