is now part of Shuffle™. You can use the editor on this domain, but we encourage you to try Shuffle.dev. Shuffle™ includes templates for Bootstrap, Bulma, Material-UI, and Tailwind CSS.

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

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

<!-- respsonsive viariations -->
<div class="py-sm-5 d-inline-block bg-primary">Padded Div</div>
<div class="py-md-5 d-inline-block bg-primary">Padded Div</div>
<div class="py-lg-5 d-inline-block bg-primary">Padded Div</div>
<div class="py-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