March 2018
Beginner to intermediate
514 pages
13h 11m
English
This is where it becomes advanced, and also very powerful—combining multiple selectors and applying advance logic to what exact elements are styled. Next, like for example to mention a few child combinators:
body > p { color : red;}
All paragraph elements which are direct children (one level) within the body.
Siblings combinators combine elements which are on the same level in the DOM hierarchy:
h1 + h2 { color : red;}
All <h2> elements placed immediately after <h1> elements. ...
Read now
Unlock full access