is now part of Shuffle™. The new editor includes templates for Bootstrap, Bulma, Material-UI, and Tailwind CSS.
Switch to Shuffle →

Bootstrap class: .flex-*-grow-0

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

<div class="d-flex text-white mt-1">
  <div class="p-2 flex-sm-grow-0 bg-danger">Flex item</div>
  <div class="p-2 flex-md-grow-0 bg-warning">Flex item</div>
  <div class="p-2 flex-lg-grow-0 bg-danger">Flex item</div>
  <div class="p-2 flex-xl-grow-0 bg-warning">Flex item</div>
</div>

Preview

Flex item
Flex item
Third flex item
Flex item
Flex item
Flex item
Flex item

Tips 💡

More in Bootstrap Flexbox