Answer the question
In order to leave comments, you need to log in
What style to choose for media expressions?
Is it possible to sometimes write media expressions while adhering to the "mobile first" approach, for example, in the form:
.selector {
@media (min-width: 768px) and (max-width: 1199px) {
display: none;
}
}
.selector {
@media (min-width: 768px) {
display: none;
}
@media (min-width: 1200px) {
display: block;
}
}
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