Sha256: 6421f1bee32b49189767e81686853cfb7bbdc977b042ceba80d826c26e71d1ad

Contents?: true

Size: 314 Bytes

Versions: 128

Compression:

Stored size: 314 Bytes

Contents

@charset "UTF-8";

/// Checks for a valid CSS length.
///
/// @param {String} $value

@function is-length($value) {
  @return type-of($value) != "null" and (str-slice($value + "", 1, 4) == "calc"
       or index(auto inherit initial 0, $value)
       or (type-of($value) == "number" and not(unitless($value))));
}

Version data entries

128 entries across 121 versions & 21 rubygems

Version Path
middleman-core-4.5.1 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_is-length.scss
middleman-core-4.5.0 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_is-length.scss
middleman-core-4.4.3 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_is-length.scss
middleman-core-4.4.2 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_is-length.scss
middleman-core-4.4.0 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_is-length.scss
middleman-core-4.3.11 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_is-length.scss
middleman-core-4.3.10 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_is-length.scss
middleman-core-4.3.8 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_is-length.scss
middleman-core-4.3.7 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_is-length.scss
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/middleman-core-4.3.3/fixtures/minify-css-app/source/stylesheets/bourbon/functions/_is-length.scss
middleman-core-4.3.6 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_is-length.scss
middleman-core-4.3.5 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_is-length.scss
middleman-core-4.3.4 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_is-length.scss
middleman-core-4.3.3 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_is-length.scss
middleman-core-4.3.2 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_is-length.scss
middleman-core-4.3.1 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_is-length.scss
middleman-core-4.3.0 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_is-length.scss
federalist-basic-report-theme-0.1.7 _sass/uswds/lib/functions/_is-length.scss
uswds-jekyll-4.2.0 _sass/uswds/lib/functions/_is-length.scss
middleman-core-4.3.0.rc.4 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_is-length.scss