Bootstrap CSS Classes

Bootstrap CSS class .justify-content-sm-center

    <div class="d-flex flex-wrap justify-content-sm-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-sm-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.

More Bootstrap CSS classes in Flexbox category

© 2024 Shuffle. All rights reserved.