Margin and Padding

  • Spacing can be either defined in a CSS-unit like px, rem or %.
  • Or as unitless number, which sets the unit grid-columns.
  • Margin and Padding can be โ€” like in CSS โ€” written out for every direction separately or in one single command.
Live Editor
Result
The padding of my parent is 4rem to the left and 3 grid-columns to the right.