Is there a "previous sibling" CSS selector? -
+
next sibling. there equivalent previous sibling?
no, there no "previous sibling" selector.
on related note, ~
general successor sibling (meaning element comes after one, not after) , css3 selector. +
next sibling , css2.1.
see adjacent sibling combinator selectors level 3 , 5.7 adjacent sibling selectors cascading style sheets level 2 revision 1 (css 2.1) specification.
Comments
Post a Comment