mirror of
https://github.com/scratchfoundation/scratchx.git
synced 2024-11-25 09:08:28 -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);
|
||
|
}
|