Sha256: 88f653faaca86617899b953e20edb052c38a593d27451931c85b8503a546e202

Contents?: true

Size: 350 Bytes

Versions: 17

Compression:

Stored size: 350 Bytes

Contents

@charset "UTF-8";

/// Checks for a valid CSS size.
///
/// @argument {string} $value
///
/// @return {boolean}
///
/// @require {function} _contains
///
/// @require {function} _is-length
///
/// @access private

@function _is-size($value) {
  @return _is-length($value)
    or _contains("fill" "fit-content" "min-content" "max-content", $value);
}

Version data entries

17 entries across 17 versions & 3 rubygems

Version Path
baseline-scss-0.5.0 src/vendors/bourbon/validators/_is-size.scss
baseline-scss-0.4.4 src/vendors/bourbon/validators/_is-size.scss
baseline-scss-0.4.3 src/vendors/bourbon/validators/_is-size.scss
baseline-scss-0.4.2 src/vendors/bourbon/validators/_is-size.scss
baseline-scss-0.4.1 src/vendors/bourbon/validators/_is-size.scss
baseline-scss-0.4.0 src/vendors/bourbon/validators/_is-size.scss
baseline-scss-0.3.3 src/vendors/bourbon/validators/_is-size.scss
baseline-scss-0.3.2 src/vendors/bourbon/validators/_is-size.scss
baseline-scss-0.3.1 src/vendors/bourbon/validators/_is-size.scss
baseline-scss-0.3.0 src/vendors/bourbon/validators/_is-size.scss
bourbon-7.3.0 core/bourbon/validators/_is-size.scss
bourbon-7.2.0 core/bourbon/validators/_is-size.scss
bourbon-7.1.0 core/bourbon/validators/_is-size.scss
geekspace-3.2.0 _sass/bourbon/bourbon/validators/_is-size.scss
geekspace-3.1.2 _sass/bourbon/bourbon/validators/_is-size.scss
geekspace-3.1.1 _sass/bourbon/bourbon/validators/_is-size.scss
bourbon-7.0.0 core/bourbon/validators/_is-size.scss