mirror of
https://github.com/scratchfoundation/scratchx.git
synced 2024-12-01 20:06:51 -05:00
14 lines
294 B
SCSS
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);
|
||
|
}
|