Skip to content

Instantly share code, notes, and snippets.

@nowelium
Created August 30, 2011 02:44
Show Gist options
  • Save nowelium/1180048 to your computer and use it in GitHub Desktop.
Save nowelium/1180048 to your computer and use it in GitHub Desktop.
#foo .a + .b {
background-color: red;
}
#foo .a .b {
background-color: blue;
}
<div id="foo">
<div class="a">
<div class="b">
<p>a .. b</p>
</div>
</div>
<div class="b">
<p>b</p>
</div>
</div>
@vwainne
Copy link

vwainne commented Nov 26, 2013

What was this supposed to do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment