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

gems.bourbon-4.3.2.app.assets.stylesheets.addons._border-width.scss Maven / Gradle / Ivy

There is a newer version: 3.7.2
Show newest version
@charset "UTF-8";

/// Provides a quick method for targeting `border-width` on specific sides of a box. Use a `null` value to “skip” a side.
///
/// @param {Arglist} $vals
///   List of arguments
///
/// @example scss - Usage
///   .element {
///     @include border-width(1em null 20px);
///   }
///
/// @example css - CSS Output
///   .element {
///     border-bottom-width: 20px;
///     border-top-width: 1em;
///   }
///
/// @require {mixin} directional-property
///
/// @output `border-width`

@mixin border-width($vals...) {
  $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings;
  $output-bourbon-deprecation-warnings: false !global;
  @include directional-property(border, width, $vals...);
  $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy