+ 1
element1:hover + element2 {}
Typing the exact same syntax for a div and span elements worked in one code but not another despite being completely identical--names and all. Is there anything else that can cause this to not work? I'm flabbergasted here.
1 Antwort
+ 2
B + E /*Any E element that is the next sibling of B*/
Meaning: if DIV is the parent of B, E has to be the NEXT child of DIV.