Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
The ~ selector selects all the following siblings that match the condition
The + selector selects only the sibling coming immediately after the element
BUT only siblings, selectors cannot go a level higher in CSSOM, these are the rules.
You have .item
a parent a
.
in this case, it’s better not to give a: hover , but to give and change both it and the child element according to the parent hover
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question