Answer the question
In order to leave comments, you need to log in
How to determine the width of the screen inside the function?
I want to do something like:
@function calc-size($size) {
@if(ширина экрана < 768) {
@return $size*1;
} @else {
@return $size*1.5;
}
}
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