borderTop

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

  1. borderTopColor

    (Required)

    Type: String

    The color of the border, can be any valid value for the CSS "border-top-color" property.

  2. borderTopWidth

    (Required)

    Type: String

    The width of the border, can be any valid value for the CSS "border-top-width" property.

    Default value

  3. borderTopStyle

    (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.