view default/assets/scss/vendors/bourbon/library/_border-style.scss @ 0:1d038bc9b3d2 default tip

Up:default
author Liny <dev@neowd.com>
date Sat, 31 May 2025 09:21:51 +0800
parents
children
line wrap: on
line source

@charset "UTF-8";

/// Provides a quick method for targeting `border-style` on specific sides of a
/// box. Use a `null` value to “skip” a side.
///
/// @argument {arglist} $values
///   List of border styles, defined as CSS shorthand.
///
/// @example scss
///   .element {
///     @include border-style(dashed null solid);
///   }
///
///   // CSS Output
///   .element {
///     border-bottom-style: solid;
///     border-top-style: dashed;
///   }
///
/// @require {mixin} _directional-property

@mixin border-style($values...) {
  @include _directional-property(border, style, $values...);
}