mirror of
https://github.com/scratchfoundation/scratchx.git
synced 2024-11-29 02:55:53 -05:00
13 lines
294 B
SCSS
13 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);
|
|
}
|