Bootstrap CSS Classes

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

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

<!-- respsonsive viariations -->
<div class="mt-sm-5 d-inline-block bg-primary">Spaced Div</div>
<div class="mt-md-5 d-inline-block bg-primary">Spaced Div</div>
<div class="mt-lg-5 d-inline-block bg-primary">Spaced Div</div>
<div class="mt-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.