What's the difference between
element1, element2 {display: inline block;}
and
element1 + element2 (display: inline block;)
in terms of display?
Answer
"+" is the adjacent sibling selector. It will select any element DIRECTLY AFTER element (not a child or parent though, a sibling).
No comments:
Post a Comment