mirror of
https://github.com/scratchfoundation/scratchx.git
synced 2024-11-25 17:18:21 -05:00
26 lines
604 B
SCSS
26 lines
604 B
SCSS
|
@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.
|
||
|
///
|
||
|
/// @param {Arglist} $vals
|
||
|
/// List of arguments
|
||
|
///
|
||
|
/// @example scss - Usage
|
||
|
/// .element {
|
||
|
/// @include border-style(dashed null solid);
|
||
|
/// }
|
||
|
///
|
||
|
/// @example css - CSS Output
|
||
|
/// .element {
|
||
|
/// border-bottom-style: solid;
|
||
|
/// border-top-style: dashed;
|
||
|
/// }
|
||
|
///
|
||
|
/// @require {mixin} directional-property
|
||
|
///
|
||
|
/// @output `border-style`
|
||
|
|
||
|
@mixin border-style($vals...) {
|
||
|
@include directional-property(border, style, $vals...);
|
||
|
}
|