@extends('_layouts.master', ['title' => 'Spacing']) @section('body')

Spacing

The syntax below is combined to create a system for padding and margins. For example, .pt-2 would add padding to the top of the element to the value of 0.5rem and .my-0 would make the horizontal margin zero.

Class
p
m
pull
Position
l Left
r Right
b Bottom
t Top
v Vertical
h Horizontal
Space
0 0
1 0.25rem
2 0.5rem
3 0.75rem
4 1rem
5 1.5rem
6 2rem
@endsection