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

Bootstrap class: .align-content-*-center

<div class="d-flex flex-wrap align-content-center">
  <div class="p-2">Flex item</div>
  <div class="p-2">Flex item</div>
  <div class="p-2">Flex item</div>
  ...
</div>

<!-- responsive variations -->
<div class="d-flex align-content-sm-center">...</div>
<div class="d-flex align-content-md-center">...</div>
<div class="d-flex align-content-lg-center">...</div>
<div class="d-flex align-content-xl-center">...</div>

Preview

Flex item
Flex item
Flex item
Flex item
Flex item
Flex item
Flex item
Flex item
Flex item
Flex item
Flex item
Flex item
Flex item
Flex item

Tips 💡

More in Bootstrap Flexbox