Does Bootstrap have built-in padding and margin classes like pad-10
, mar-left-10
or I have to add my own custom classes? For example, similar to th
This is taken from the docs and it works very well. Here is the link
Where sides are one of:
if you want to give margin to the left use mt-x where x stands for [1,2,3,4,5]
same for padding
example be like
Use only p-x or m-x for getting padding and margin of x from all sides.