more_vert

Spacing

Where property is one of:

  • m - for classes that set margin
  • p - for classes that set padding

Where sides is one of:

  • t - for classes that set margin-top or padding-top
  • b - for classes that set margin-bottom or padding-bottom
  • l - for classes that set margin-left or padding-left
  • r - for classes that set margin-right or padding-right
  • x - for classes that set both *-left and *-right
  • y - for classes that set both *-top and *-bottom
  • blank - for classes that set a margin or padding on all 4 sides of the element

Where size is one of:

  • 0 - for classes that eliminate the margin or padding by setting it to 0
  • xxxs - (by default) for classes that set the margin or padding to .0625rem
  • xxs - (by default) for classes that set the margin or padding to .125rem
  • xs - (by default) for classes that set the margin or padding to .25rem
  • sm - (by default) for classes that set the margin or padding to .5rem
  • md - (by default) for classes that set the margin or padding to 1rem
  • lg - (by default) for classes that set the margin or padding to 1.5rem
  • xl - (by default) for classes that set the margin or padding to 2rem
  • xxl - (by default) for classes that set the margin or padding to 2.5rem
  • xxxl - (by default) for classes that set the margin or padding to 3rem
  • auto - for classes that set the margin to auto

Negative margins

  • -xxxs - (by default) for classes that set the margin to -.0625rem
  • -xxs - (by default) for classes that set the margin to -.125rem
  • -xs - (by default) for classes that set the margin to -.25rem
  • -sm - (by default) for classes that set the margin to -.5rem
  • -md - (by default) for classes that set the margin to -1rem
  • -lg - (by default) for classes that set the margin to -1.5rem
  • -xl - (by default) for classes that set the margin to -2rem
  • -xxl - (by default) for classes that set the margin to -2.5rem
  • -xxxl - (by default) for classes that set the margin to -3rem

Examples

Positive margin right
<div class="mr-xl"> Margin Right 2rem </div>
Lorem ipsum dolor sit amet
Negative margin right
<div class="mr--md"> Margin Right -1rem </div>
Lorem ipsum dolor sit amet
Positive margin bottom
<div class="mb-md"> Margin Bottom 1rem </div>
Lorem ipsum dolor sit amet
Negative margin bottom
<div class="mb--sm"> Margin Bottom -.5rem </div>
Lorem ipsum dolor sit amet
Margin auto
<div class="md--md"> Margin Left & Right auto </div>
Rapid Activity
close
add_shopping_cart
Orders
cloud_upload
Upload
shopping_cart
Products
person
Client
speaker_notes
Blog
settings
Settings
Overview
close