You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
596 B
26 lines
596 B
7 years ago
|
@charset "UTF-8";
|
||
|
|
||
|
/// Provides a quick method for targeting `border-width` 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-width(1em null 20px);
|
||
|
/// }
|
||
|
///
|
||
|
/// @example css - CSS Output
|
||
|
/// .element {
|
||
|
/// border-bottom-width: 20px;
|
||
|
/// border-top-width: 1em;
|
||
|
/// }
|
||
|
///
|
||
|
/// @require {mixin} directional-property
|
||
|
///
|
||
|
/// @output `border-width`
|
||
|
|
||
|
@mixin border-width($vals...) {
|
||
|
@include directional-property(border, width, $vals...);
|
||
|
}
|