Bootstrap CSS Classes

Bootstrap CSS class .flex-sm-fill

    <div class="d-flex bg-secondary p-1">
        <div class="p-3 flex-sm-fill bg-primary">1</div>
        <div class="p-3 bg-info">2</div>
        <div class="p-3 bg-primary">3</div>
        <div class="p-3 bg-info">4</div>
    </div>

Preview

Are you tired of writing HTML by hand?

More Bootstrap CSS classes in Flexbox category

© 2024 Shuffle. All rights reserved.