Skip to content Skip to sidebar Skip to footer

Selecting Adjacent And Previous Siblings In Css

Say for instance I have the following HTML

Solution 2:

There is no selector that does that even in the CSS3 specification; you will either have to be creative in assigning classes to the elements and using other selectors, or go with jQuery.

Post a Comment for "Selecting Adjacent And Previous Siblings In Css"