Skip to content

Instantly share code, notes, and snippets.

@tomwray13
Created January 20, 2020 14:23
Show Gist options
  • Save tomwray13/03d1dfd4f7428d1948d65fd8e27dfc3b to your computer and use it in GitHub Desktop.
Save tomwray13/03d1dfd4f7428d1948d65fd8e27dfc3b to your computer and use it in GitHub Desktop.
Grandchild Mistake 2
<div class=“nav”>
<div class="nav__wrapper"> <!-- Here is my new div-->
<!-- Now I need to refactor all the classes below
because of the new div -->
<ul class=“nav__wrapper__menu”>
<li class=“nav__wrapper__menu__item”>
<a class=“nav__wrapper____menu__item__link”>Home</a>
</li>
</ul>
<div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment