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