what2watch/scss/vendor/compass-breakpoint/stylesheets/breakpoint/_no-query.scss

16 lines
340 B
SCSS
Raw Normal View History

2023-09-22 00:43:18 +00:00
@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;
}
}