~
is for the next sibling. Is there an equivalent for the previous sibling?
If there is not, a succinct no would suffice. :)
~
is for the next sibling. Is there an equivalent for the previous sibling?
If there is not, a succinct no would suffice. :)
Two things:
See Adjacent sibling combinator from Selectors Level 3 and 5.7 Adjacent sibling selectors from Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification.