hacks-guide-minimal-mistake.../assets/scss/vendor/breakpoint/_no-query.scss
2016-03-17 21:32:55 -04:00

15 lines
340 B
SCSS
Executable file

@function breakpoint-no-query($query) {
@if type-of($query) == 'list' {
$keyword: nth($query, 1);
@if type-of($keyword) == 'string' and ($keyword == 'no-query' or $keyword == 'no query' or $keyword == 'fallback') {
@return nth($query, 2);
}
@else {
@return false;
}
}
@else {
@return false;
}
}