Learn about an interesting CSS syntax involving the adjacent sibling combinator (+) and the asterisk (*) to select non-immediate adjacent elements of the same class. This allows styles to be applied to specific siblings a few elements away when hovering over a targeted element.

1m read timeFrom dev.to
Post cover image
Table of contents
Explanation
35 Comments

Sort: