All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gems.bourbon-4.2.4.app.assets.stylesheets.functions._is-length.scss Maven / Gradle / Ivy

There is a newer version: 3.7.2
Show newest version
@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))));
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy