Skip to content

Instantly share code, notes, and snippets.

@fisherds
Last active August 29, 2015 14:07
Show Gist options
  • Select an option

  • Save fisherds/0facea24718d500836f7 to your computer and use it in GitHub Desktop.

Select an option

Save fisherds/0facea24718d500836f7 to your computer and use it in GitHub Desktop.
Some HTML that we'll use to practice CSS selectors
<body>
<h1>Family Tree</h1>
<ul class="top-level">
<li>Fictional
<ul id="fictional-list">
<li>Simpsons
<ul class="family-members">
<li>Homer</li>
<li>Lisa</li>
<li>Bart</li>
<li>Marge</li>
<li>Maggie</li>
</ul>
</li>
<li>Flintstones
<ul class="family-members">
<li>Fred</li>
<li>Wilma</li>
<li>Pebbles</li>
<li>Dino</li>
</ul>
</li>
</ul>
</li>
<li>
Non-fictional
<ul id="non-fictional-list">
<li>Fishers
<ul class="family-members">
<li>Dave</li>
<li>Kristy</li>
<li>McKinley</li>
<li>Keegan</li>
<li>Bowen</li>
</ul>
</li>
</ul>
</li>
</ul>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment