Sha256: 051a4d6e9b11b0a604765848a459cd4c97641a6fac6e8aa0f1220821fe1a4374

Contents?: true

Size: 330 Bytes

Versions: 3

Compression:

Stored size: 330 Bytes

Contents

@charset "UTF-8";

/// Checks for a valid CSS size.
///
/// @argument {string} $value
///
/// @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

3 entries across 3 versions & 1 rubygems

Version Path
bourbon-5.0.0.beta.3 core/bourbon/validators/_is-size.scss
bourbon-5.0.0.beta.2 core/bourbon/validators/_is-size.scss
bourbon-5.0.0.beta.1 core/bourbon/functions/_is-size.scss