Spacing
Assign responsive-friendly margin or padding values to an element or a subset of its sides with shorthand classes. Includes support for individual properties, all properties, and vertical and horizontal properties.
Where property is one of:
M
- for classes that setmargin
P
- for classes that setpadding
Where sides is one of:
t
- for classes that setmargin-top
orpadding-top
b
- for classes that setmargin-bottom
orpadding-bottom
l
- for classes that setmargin-left
orpadding-left
r
- for classes that setmargin-right
orpadding-right
Where size is one of:
1
(by default) for classes that set themargin
orpadding
to0.5
from1
to5
<div class="SnMt-3"></div>
API
Property | Class |
---|---|
Margin | Example.SnMt-1 |
Pading | Example.SnPt-1 |