- xs: <768px
- sm: <992px
- md: <1200px
- xs: 4px
- sm: 8px
- default: 15px
- lg: 30px
- xl: 60px
- xs: 4px
- sm: 8px
- default: 15px
- lg: 30px
- xl: 60px
The default margin classes are:
.m-0 (none)
.m-0-auto (0 auto)
.m-t (top)
.m-b (bottom)
.m-t-b (top + bottom)
.m-l (left)
.m-r (right)
.m-r-l (right + left)
.m-a (all)
For all classes except "0" and "0-auto" you can add the size at the end:
.m-t-xs
.m-b-xs
.m-t-b-xs
.m-l-xs
.m-r-xs
.m-r-l-xs
Available sizes are: xs, sm, lg, xl
You can add the size of the screen after the "m" in the class name. This will take effect for all screens smaller than this.
.m-md-0
.m-md-0-auto
.m-md-t
.m-md-t-b-xl
...
The default padding classes are:
.p-0 (none)
.p-t (top)
.p-b (bottom)
.p-t-b (top + bottom)
.p-l (left)
.p-r (right)
.p-r-l (right + left)
.p-a (all)
For all classes except "0" you can add the size at the end:
.p-t-xs
.p-b-xs
.p-t-b-xs
.p-l-xs
.p-r-xs
.p-r-l-xs
.p-a-xs
Available sizes are: xs, sm, lg, xl
You can add the size of the screen after the "p" in the class name. This will take effect for all screens smaller than this.
.p-md-0
.p-md-t
.p-md-t-b-xl
...