margin Horizontal
Type: Function
How to get marginHorizontal?
JavaScript
import { marginHorizontal } from 'fds/system';
A styling mixin used for setting a margin on the left and right of the element in the specified size.
Arguments
margin
Size (Required)
Type: FDS~MarginSize
The amount of margin-right and margin-left rendered by the component.
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.