Bootstrap CSS Classes

Bootstrap CSS class .flex-fill

<div class="d-flex text-white">
  <div class="p-2 flex-fill bg-primary">Flex item</div>
  <div class="p-2 flex-fill bg-success">Flex item</div>
  <div class="p-2 flex-fill bg-primary">Flex item</div>
</div>

Preview

Are you tired of writing HTML by hand?

More Bootstrap CSS classes in Flexbox category

© 2024 Shuffle. All rights reserved.