Bootstrap CSS Classes

Bootstrap CSS class .m-1 / m-*-#

<div class="m-0 bg-primary d-inline-block">Spaced Div</div>
<div class="m-1 bg-primary d-inline-block">Spaced Div</div>
<div class="m-2 bg-primary d-inline-block">Spaced Div</div>
<div class="m-3 bg-primary d-inline-block">Spaced Div</div>
<div class="m-4 bg-primary d-inline-block">Spaced Div</div>
<div class="m-5 bg-primary d-inline-block">Spaced Div</div>

<!-- respsonsive viariations -->
<div class="m-sm-5 d-inline-block bg-primary">Spaced Div</div>
<div class="m-md-5 d-inline-block bg-primary">Spaced Div</div>
<div class="m-lg-5 d-inline-block bg-primary">Spaced Div</div>
<div class="m-xl-5 d-inline-block bg-primary">Spaced Div</div>

Preview

Are you tired of writing HTML by hand?

More Bootstrap CSS classes in Spacing category

© 2024 Shuffle. All rights reserved.