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

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -