Answer the question
In order to leave comments, you need to log in
Why won't WinLess compile @media CSS queries?
When compiled by WinLess, the media.less file is not compiled by media . I tried clearing the browser cache, reinstalling WinLess, renaming folders and files - all in vain. I searched for answers to this problem, but did not find it.
Here is the media.less code :
.bred {
border: 1px solid red;
}
a {
color: red;
}
@media screen and (min-width: 0px) and (max-width: 319px) {
.counter_wrapper {
display: none;
}
.profit_with_col {
display: none;
}
@media screen and (min-width: 320px) and (max-width: 575px) {
.logo_link {
display: flex;
justify-content: center;
transform: translate(-5%);
}
.counter_wrapper {
display: none;
}
.profit_with_col {
display: none;
}
}
@media screen and (min-width: 576px) and (max-width: 767px) {
.logo_link {
display: flex;
justify-content: center;
transform: translate(-5%);
}
.counter_wrapper {
display: none;
}
}
@media screen and (min-width: 768px) and (max-width: 991px) {
.logo_link {
display: flex;
justify-content: center;
transform: translate(-5%);
}
.counter_wrapper {
display: none;
}
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
.counter_wrapper {
display: none;
}
}
.bred {
border: 1px solid red;
}
a {
color: red;
}
Answer the question
In order to leave comments, you need to log in
And on not closed bracket in the first @media
does not swear?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question