funky/_sass/bourbon/functions/_is-size.scss
2016-06-17 12:53:50 +01:00

14 lines
294 B
SCSS

@charset "UTF-8";
/// Checks for a valid CSS size.
///
/// @param {String} $value
///
/// @require {function} contains
/// @require {function} is-length
@function is-size($value) {
@return is-length($value)
or contains("fill" "fit-content" "min-content" "max-content", $value);
}