Spacing system
The helper classes apply margin or padding to an element ranging from 0 to 5. Each size increment was designed to align with common Material Design spacings. These classes can be applied using the following format {property}{direction}-{size}.
The property applies the type of spacing:
m- applies marginp- applies padding
The direction designates the side the property applies to:
t- applies the spacing for -topb- applies the spacing for -bottoml- applies the spacing for -leftr- applies the spacing for -rightx- applies the spacing for both -left and -righty- applies the spacing for both -top and -bottomblank- applies the spacing for all sides
The size controls the increment of the property:
auto- sets the spacing to auto0- removes the spacing by setting it to 01- sets the spacing to .25rem2- sets the spacing to .5rem3- sets the spacing to 1rem4- sets the spacing to 1.5rem5- sets the spacing to 3rem