scratchx/sass/bourbon/functions/_is-size.scss

14 lines
294 B
SCSS
Raw Normal View History

2015-05-01 09:39:03 -04:00
@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);
}