comunic/developer/user/themes/antimatter/scss/nucleus/functions/_range.scss

13 lines
212 B
SCSS
Raw Normal View History

2016-11-19 11:08:12 +00:00
@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);
}