Created
March 19, 2015 17:39
-
-
Save evanleck/25320c69e8b8510003d0 to your computer and use it in GitHub Desktop.
Direct Descendents
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1> | |
<a>This one gets selected</a> | |
<span> | |
<a>But this one doesn't</a> | |
</span> | |
</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
h1 > a { | |
color: red; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment