wiki-grav/themes/learn2/scss/nucleus/functions/_range.scss
2022-06-24 18:08:45 +02:00

13 lines
212 B
SCSS

@function lower-bound($range){
@if length($range) <= 0 {
@return 0;
}
@return nth($range,1);
}
@function upper-bound($range) {
@if length($range) < 2 {
@return 999999999999;
}
@return nth($range, 2);
}