is now part of Shuffle™. The new editor includes templates for Bootstrap, Bulma, Material-UI, and Tailwind CSS.
Switch to Shuffle →

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

<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

Tips 💡

More in Bootstrap Spacing