Bootstrap 4 Padding
Padding on all sides (p-3
)
Padding on top (pt-4
)
Padding on bottom (pb-2
)
Padding on start (left/right based on text direction) (pl-5
)
Padding on end (pr-2
)
Horizontal padding (px-3
)
Vertical padding (py-1
)
Responsive padding for medium screens (p-md-4
)
Top padding for small screens and bottom padding for large screens (pt-sm-2 mb-lg-5
)