borderRight

Type: Function

How to get borderRight?

JavaScript

import { borderRight } from 'fds/system';

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

Arguments

  1. borderRightColor

    (Required)

    Type: String

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

  2. borderRightWidth

    (Required)

    Type: String

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

    Default value

  3. borderRightStyle

    (Required)

    Type: String

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