Sha256: 06b3e02a2ca46172d6331aac3350fd3790ff7d8043fed43eb9be7eee02ca01a0

Contents?: true

Size: 356 Bytes

Versions: 15

Compression:

Stored size: 356 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

15 entries across 15 versions & 4 rubygems

Version Path
bourbon-6.0.0 core/bourbon/validators/_is-size.scss
bourbon-5.1.0 core/bourbon/validators/_is-size.scss
bourbon-5.0.1 core/bourbon/validators/_is-size.scss
bourbon-5.0.0 core/bourbon/validators/_is-size.scss
dream-theme-0.1.0 _sass/bourbon/bourbon/validators/_is-size.scss
bourbon-5.0.0.beta.8 core/bourbon/validators/_is-size.scss
spice-rack-0.4.0 _sass/bourbon/bourbon/validators/_is-size.scss
spice-rack-0.3.0 _sass/bourbon/bourbon/validators/_is-size.scss
spice-rack-0.2.0 _sass/bourbon/bourbon/validators/_is-size.scss
spice-rack-0.1.0 _sass/bourbon/bourbon/validators/_is-size.scss
bourbon-5.0.0.beta.7 core/bourbon/validators/_is-size.scss
garth-jekyll-theme-0.1.9 _sass/bourbon/bourbon/validators/_is-size.scss
bourbon-5.0.0.beta.6 core/bourbon/validators/_is-size.scss
bourbon-5.0.0.beta.5 core/bourbon/validators/_is-size.scss
bourbon-5.0.0.beta.4 core/bourbon/validators/_is-size.scss