Seems like this should be easy. How do I get the min/max values from a list using sass?
$max-value: max(10, 20, 30); // returns 30
$list: 10, 20, 30;
$max-value: max($list); // Syntax error: (10, 20, 30) is not a number for `max'
I think this does what you want:
$max-value: max($list...);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With