Commit | Line | Data |
---|---|---|
2d3ca553 | 1 | @charset "UTF-8"; |
2 | ||
3 | /// Checks for a valid CSS size. | |
4 | /// | |
5 | /// @argument {string} $value | |
6 | /// | |
7 | /// @return {boolean} | |
8 | /// | |
9 | /// @require {function} _contains | |
10 | /// | |
11 | /// @require {function} _is-length | |
12 | /// | |
13 | /// @access private | |
14 | ||
15 | @function _is-size($value) { | |
16 | @return _is-length($value) | |
17 | or _contains("fill" "fit-content" "min-content" "max-content", $value); | |
18 | } |