Possible Duplicate:
What does + mean in CSS?
I don't understand what the "+" does in this context.
.test ul li:hover + li a img {
width:60px;
height:60px;
}
Possible Duplicate:
What does + mean in CSS?
I don't understand what the "+" does in this context.
.test ul li:hover + li a img {
width:60px;
height:60px;
}
It means any li
immediatly following a li:hover
.
See CSS Selectors on W3.
E + F: Matches any F element immediately preceded by a sibling element E.
And:
Thus, the following rule states that when a
P
element immediately follows aMATH
element, it should not be indented:math + p { text-indent: 0 }