border Top
Type: Function
How to get borderTop?
JavaScript
import { borderTop } from 'fds/system';
A styling mixin used for drawing a border on the top of the element in the specified color.
Arguments
border
Top Color (Required)
Type: String
The color of the border, can be any valid value for the CSS "border-top-color" property.
border
Top Width (Required)
Type: String
The width of the border, can be any valid value for the CSS "border-top-width" property.
Default value
border
Top Style (Required)
Type: String
The radius of the border, can be any valid value for the CSS "border-top-style" property.
Default value
Returns
Type: String
A style rule resulting in a generated class name on the element.
Generally created using fds/system/applyCss and/or any styling utility provided by FDS.