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