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

Bootstrap class: .col-auto

    <div class="container">
        <div class="row bg-secondary">
            <div class="col-2 bg-primary p-3">
                col-2
            </div>
            <div class="col-6 bg-info p-3">
                col-8
            </div>
            <div class="col-auto bg-warning p-3">
                col-auto
            </div>
        </div>
    </div>

Preview

col-2
col-8
col-auto

Check .col-auto 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 Grid