2d3ca553 |
1 | @charset "UTF-8"; |
2 | |
3 | /// Provides a concise, one-line method for setting `border-style` 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 styles; accepts CSS shorthand. |
9 | /// |
10 | /// @example scss |
11 | /// .element { |
12 | /// @include border-style(dashed null solid); |
13 | /// } |
14 | /// |
15 | /// // CSS Output |
16 | /// .element { |
17 | /// border-bottom-style: solid; |
18 | /// border-top-style: dashed; |
19 | /// } |
20 | /// |
21 | /// @require {mixin} _directional-property |
22 | |
23 | @mixin border-style($values) { |
24 | @include _directional-property(border, style, $values); |
25 | } |