Bootstrap CSS Classes

Bootstrap CSS class .m-auto

    <div class="m-auto p-1 bg-primary d-inline-block">Spaced Div</div>
    <div class="m-auto p-1 bg-primary d-inline-block">Spaced Div</div>
    <div class="m-auto p-1 bg-primary d-inline-block">Spaced Div</div>
    <div class="m-auto p-1 bg-primary d-inline-block">Spaced Div</div>

Preview

Check .m-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.

More Bootstrap CSS classes in Spacing category

© 2024 Shuffle. All rights reserved.