Answer the question
In order to leave comments, you need to log in
Why don't media queries work on localhost (chrome)?
@media (min-width: 992px) {
.navigation {
&_item {
background: red;
}
}
}
@media (min-width: 1200px) {
.navigation {
&_item {
background: blue;
}
}
}
Answer the question
In order to leave comments, you need to log in
If the following meta tags are not specified in the head section, it may not work either.
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
As I understand it, you use Less with the BEM methodology)) . what does it convert to css? what does a media query look like?
@media screen and (min-width:480px) {
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question