Answer the question
In order to leave comments, you need to log in
Media queries, sass nesting?
I can't deal with sass media queries
There is a conditional html construct
<div_1>
<div_2>
<div_3>
.... И так далее
</div>
</div>
</div>
.div_1 {
.div_2{
.div_3{
}
}
}
@media
for let's say the final block - .div_3. In a separate dock, I write as if by referring to it, and it does not work @media(){
.div_1 . .div_2 .div_3{
}
}
@media
Answer the question
In order to leave comments, you need to log in
1) please help me figure out the correct nesting
.div_3 {
color: #000;
@media screen {
color: #fff;
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question