You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
562 B
SCSS
24 lines
562 B
SCSS
/* ==========================================================================
|
|
Functions
|
|
========================================================================== */
|
|
|
|
/* Range function
|
|
========================================================================== */
|
|
|
|
/**
|
|
* Define ranges for various things, like media queries.
|
|
*/
|
|
|
|
@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);
|
|
} |