Answer the question
In order to leave comments, you need to log in
Why is there strange css generation for media query?
Greetings.
Weird output occurs when generating less -> css:
@sizeMobile: 600px;
@sizeMobileMinWidth: @sizeMobile + 1px;
@media screen and (min-width: @sizeMobileMinWidth) and (max-width: 1024px){
.here{
sizeMobile: @sizeMobile;
sizeMobileMinWidth: @sizeMobileMinWidth;
}
}
@media screen and (min-width: 600px + 1px) and (max-width: 1024px){
.here{
sizeMobile: 600px;
sizeMobileMinWidth: 601px;
}
}
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