Bootstrap class: .justify-content-*-center

Do not have time to learn all the Bootstrap classes?

Try drag & drop Bootstrap builder

<div class="d-flex justify-content-center">
  <div class="p-2">Flex item 1</div>
  <div class="p-2">Flex item 2</div>
  <div class="p-2">Flex item 3</div>

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


Flex item 1
Flex item 2
Flex item 3

More in Bootstrap Flexbox