Hello everybody,
I'm creating a style and I'd like to compare 2 variables, I don't how to do it and all my attempts have produced an error. I'm not sure about the syntax either:
CSS
$defaultValue = 100px; // default value
$randomValue = 120px; // This can be any value
@if ($randomValue > $defaultValue) {
$defaultValue = $randomValue + $anotherVariable;
}
Regards