border-color
Provides a concise, one-line method for setting border-color
on specific edges of a box. Use a null
value to “skip” edges of the box with standard CSS shorthand.
Arguments
Name | Type | Description |
---|---|---|
$values | list | List of colors; accepts CSS shorthand. |
Example
.element {
@include border-color(#a60b55 #76cd9c null #e8ae1a);
}
// CSS Output
.element {
border-left-color: #e8ae1a;
border-right-color: #76cd9c;
border-top-color: #a60b55;
}