Style to the child element

Space

https://www.w3schools.com/cssref/sel_element_element.asp

>

https://www.w3schools.com/cssref/sel_element_gt.asp

Style to the element with the same level

+

https://www.w3schools.com/cssref/sel_element_pluss.asp

 

~

https://www.w3schools.com/cssref/sel_gen_sibling.asp

Advertisements