borderLeft

Type: Function

How to get borderLeft?

JavaScript

import { borderLeft } from 'fds/system';

A styling mixin used for drawing a border on the left of the element in the specified color.

Arguments

  1. borderLeftColor

    (Required)

    Type: String

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

  2. borderLeftWidth

    (Required)

    Type: String

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

    Default value

  3. borderLeftStyle

    (Required)

    Type: String

    The radius of the border, can be any valid value for the CSS "border-left-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.