Padding
←Here is a little bit of extra padding. Use padding to move the contents away from the edges of the block.
Use the padding helpers in combination with any block element, especially with .box
, .button
and form elemets. When no padding class is given, the default value for interface elements is mostly --space-s
.
Syntax:
.p{-direction?}{_size?}
SCSS:
_padding.scss
All
pa_xs
pa_s
pa_m
pa_l
Top
pa-t_xs
pa-t_s
pa-t_m
pa-t_l
Right
pa-r_xs
pa-r_s
pa-r_m
pa-r_l
Bottom
pa-b_xs
pa-b_s
pa-b_m
pa-b_l
Left
pa-l_xs
pa-l_s
pa-l_m
pa-l_l
Vertical
pa-v_xs
pa-v_s
pa-v_m
pa-v_l
Horizontal
pa-h_xs
pa-h_s
pa-h_m
pa-h_l