Bootstrap CSS Classes

Bootstrap CSS class .align-items-*-baseline

<div class="d-flex align-items-baseline">
  <div class="p-2">Flex item 1</div>
  <div class="p-2">Flex item 2</div>
  <div class="p-2">Flex item 3</div>
</div>

<!-- responsive variations -->
<div class="d-flex align-items-sm-baseline">...</div>
<div class="d-flex align-items-md-baseline">...</div>
<div class="d-flex align-items-lg-baseline">...</div>
<div class="d-flex align-items-xl-baseline">...</div>

Preview

Are you tired of writing HTML by hand?

More Bootstrap CSS classes in Flexbox category

© 2024 Shuffle. All rights reserved.