Answer the question
In order to leave comments, you need to log in
Contiguous relatives in sass, how to set via :hover?
Subject,
<div>
<div class="hover"></div>
<div class="opacity0"></div>
</div>
Answer the question
In order to leave comments, you need to log in
So:
.hover:hover + .opacity0 {
opacity: 0;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question