Holla. You know how families trees are with parents, siblings, grandparents and the likes, well that is basically how the HTML DOM is structured. Html elements do have parents and could have children and also siblings (lol). Okay to make this clearer...
Markdown supported · ⌘↵ to post
I keep having to go back to mdn for proper usage of these selectors. Thanks for sharing.
Understanding the DOM tree enables us to do powerful things with CSS. Thank you for this article.
Chukwudi Umeilechukwu
Software Engineer
I don't think I will be forgetting these selectors anytime soon!
Thanks!