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