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

Bootstrap class: .justify-content-center

    <div class="d-flex flex-wrap justify-content-center bg-secondary" style="height: 50px;">
        <div class="px-4 bg-primary"></div>
        <div class="px-4 bg-info"></div>
        <div class="px-4 bg-primary"></div>
        <div class="px-4 bg-info"></div>
        <div class="px-4 bg-primary"></div>
        <div class="px-4 bg-info"></div>
    </div>

Preview

Check .justify-content-center in a real project

Click one of the examples listed below to open the Shuffle Visual Editor with the UI library that uses the selected component.

Tips 💡

More in Bootstrap Flexbox