@extends('layouts.default') {{-- Page title --}} @section('title') Typography @parent @stop {{-- page level styles --}} @section('header_styles') @stop @section('content')

Spacing Utilities

Padding and margin classes

Assign margin or padding to an element or a subset of its sides with shorthand classes. Includes support for individual properties, all properties, and vertical and horizontal properties. It uses Bootstrap 4 spacing format of {property}{sides}-{size}. Available sizes can be any of:

  • 4 5 8 10 12 15 16 20 24 25 30 35 40 45 50 60 70 80 90 100
  • 120 140 150 160 180 200
  • 250 300

Padding classes

Class name Description
.pt-40px padding-top: 40px
.pb-40px padding-bottom: 40px
.ps-40px padding-left: 40px
.pe-40px padding-right: 40px
.px-40px padding-left: 40px
padding-right: 40px
.py-40px padding-top: 40px
padding-bottom: 40px
.p-40 padding: 40px

Margin classes

Class name Description
.mt-40px margin-top: 40px
.mb-40px margin-bottom: 40px
.ms-40px margin-left: 40px
.me-40px margin-right: 40px
.mx-40px margin-left: 40px
margin-right: 40px
.my-40px margin-top: 40px
margin-bottom: 40px
.m-40 margin: 40px
@stop @section('footer_scripts') @stop