Bootstrap class: .px-1 / px-*-#

Do not have time to learn all the Bootstrap classes?

Try drag & drop Bootstrap builder

<div class="px-0 bg-primary d-inline-block">Padded Div</div>
<div class="px-1 bg-primary d-inline-block">Padded Div</div>
<div class="px-2 bg-primary d-inline-block">Padded Div</div>
<div class="px-3 bg-primary d-inline-block">Padded Div</div>
<div class="px-4 bg-primary d-inline-block">Padded Div</div>
<div class="px-5 bg-primary d-inline-block">Padded Div</div>

<!-- respsonsive viariations -->
<div class="px-sm-5 d-inline-block bg-primary">Padded Div</div>
<div class="px-md-5 d-inline-block bg-primary">Padded Div</div>
<div class="px-lg-5 d-inline-block bg-primary">Padded Div</div>
<div class="px-xl-5 d-inline-block bg-primary">Padded Div</div>

Preview

Padded Div
Padded Div
Padded Div
Padded Div
Padded Div
Padded Div
Padded Div
Padded Div
Padded Div
Padded Div

More in Bootstrap Spacing