0
|
1 @charset "UTF-8";
|
|
2
|
|
3 /// Provides a quick method for targeting `border-width` on specific sides of a
|
|
4 /// box. Use a `null` value to “skip” a side.
|
|
5 ///
|
|
6 /// @argument {arglist} $values
|
|
7 /// List of border widths, defined as CSS shorthand.
|
|
8 ///
|
|
9 /// @example scss
|
|
10 /// .element {
|
|
11 /// @include border-width(1em null 20px);
|
|
12 /// }
|
|
13 ///
|
|
14 /// // CSS Output
|
|
15 /// .element {
|
|
16 /// border-bottom-width: 20px;
|
|
17 /// border-top-width: 1em;
|
|
18 /// }
|
|
19 ///
|
|
20 /// @require {mixin} _directional-property
|
|
21
|
|
22 @mixin border-width($values...) {
|
|
23 @include _directional-property(border, width, $values...);
|
|
24 }
|