Answer the question
In order to leave comments, you need to log in
Change variable on media request?
Hello. I change the variable during the media query, but as a result, the media query becomes the main one, and the value of the variable outside the query is simply ignored.
What is the correct way to use a variable in a media query?
$mainFontSizeInContacts: 25px;
@media (max-width: 480px) {
$mainFontSizeInContacts: 17px !global;
}
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