Answer the question
In order to leave comments, you need to log in
Why doesn't hover work on a child element in sass?
Why does hover not work on a child element in sass
https://jsfiddle.net/oqd45263/
This works, but changes the block
.author__info
cursor: pointer
&:hover
border: 2px solid red
.author__info
cursor: pointer
&:hover > .author__name
border: 2px solid red
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question