use .col for a simple flex-grow: 1;. It's described here https://v4-alpha.getbootstrap.com/layout/grid/#variable-width-content

<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" rel="stylesheet" />
<div class="container">
  <div class="row">
    <div class="col">
      I use all the space left
    </div>
    <div class="col-sm col-sm-auto">
      I am a small text on the right
    </div>
  </div>
</div>

Answer from Michael Coker on Stack Overflow
🌐
Bootstrap
getbootstrap.com › docs › 4.1 › utilities › flex
Flex · Bootstrap
Use .flex-grow-* utilities to toggle a flex item’s ability to grow to fill available space.
🌐
Bootstrap
getbootstrap.com › docs › 5.0 › utilities › flex
Flex · Bootstrap v5.0
Use .flex-grow-* utilities to toggle a flex item’s ability to grow to fill available space.
🌐
W3Schools
w3schools.com › bootstrap4 › bootstrap_flex.asp
Bootstrap 4 Flex
Use .flex-grow-1 on a flex item to take up the rest of the space.
🌐
Bootstrap Shuffle
bootstrapshuffle.com › classes › flexbox › flex-*-grow-1
flex-*-grow-1 - Bootstrap CSS class
<div class="d-flex text-white"> <div class="p-2 flex-grow-1 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-1 bg-danger">Flex item</div> <div class="p-2 flex-md-grow-1 bg-warning">Flex item</div> <div class="p-2 flex-lg-grow-1 bg-danger">Flex item</div> <div class="p-2 flex-xl-grow-1 bg-warning">Flex item</div> </div>Copy code ... You don't need to remember all CSS classes. Just use the Bootstrap Editor instead.
🌐
Arizona
digital.arizona.edu › arizona-bootstrap › docs › 2.0 › utilities › flex
Flex · Arizona Bootstrap
Use .flex-grow-* utilities to toggle a flex item’s ability to grow to fill available space.
🌐
GeeksforGeeks
geeksforgeeks.org › bootstrap › bootstrap-5-flex-grow-and-shrink
Bootstrap 5 Flex Grow and shrink - GeeksforGeeks
July 23, 2025 - Bootstrap 5 Flex Grow and shrink is used to apply the expanding and shrinking look to an HTML div in a flexbox.
Find elsewhere
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › CSS › Reference › Properties › flex-grow
flex-grow - CSS | MDN
The flex-grow CSS property sets the flex grow factor, which specifies how much of the flex container's positive free space, if any, should be assigned to the flex item's main size.
🌐
Shuffle
shuffle.dev › bootstrap › classes › flexbox › flex-*-grow-1
Bootstrap CSS class: flex-*-grow-1
<div class="d-flex text-white"> <div class="p-2 flex-grow-1 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-1 bg-danger">Flex item</div> <div class="p-2 flex-md-grow-1 bg-warning">Flex item</div> <div class="p-2 flex-lg-grow-1 bg-danger">Flex item</div> <div class="p-2 flex-xl-grow-1 bg-warning">Flex item</div> </div>
🌐
FastBootstrap
fastbootstrap.com › docs › flex-grow
Bootstrap Flex Grow CSS - FastBootstrap
Use .flex-grow-* utilities to toggle a flex item’s ability to grow to fill available space.
🌐
Webpixels
docs.webpixels.io › css › flex-grow
Flex Grow - Bootstrap 5 Flex
Customize the layout with the flex-grow property, allowing individual items to dynamically grow and adapt.
🌐
Bootstrap
getbootstrap.com › docs › 5.3 › layout › columns
Columns · Bootstrap v5.3
Flexbox means we have options for changing individual columns and modifying groups of columns at the row level. You choose how columns grow, shrink, or otherwise change. When building grid layouts, all content goes in columns. The hierarchy of Bootstrap’s grid goes from container to row to column to your content.
🌐
Scaler
scaler.com › home › topics › bootstrap-tutorial › what is bootstrap flex?
What is Bootstrap Flex? - Scaler Topics
January 10, 2024 - Let us understand the grow utility class with the help of a code example. ... Since we have applied the .flex-grow-1 utility class to the third flex item, therefore it has taken up all the remaining space in the container.
🌐
Bootstrap
getbootstrap.com › docs › 5.3 › utilities › flex
Flex · Bootstrap v5.3
Use .flex-grow-* utilities to toggle a flex item’s ability to grow to fill available space.
🌐
GeeksforGeeks
geeksforgeeks.org › bootstrap › how-to-stretch-flexbox-to-fill-the-entire-container-in-bootstrap
How to stretch flexbox to fill the entire container in Bootstrap? - GeeksforGeeks
June 25, 2024 - In this approach, .flex-grow-1 stretch the element to its maximum width by giving the other elements (if any) only the necessary amount of space. ... Example: The example shows how to stretch the flexbox to fill the entire container in Bootstrap.
🌐
Bootstrap Shuffle
bootstrapshuffle.com › classes › flexbox › flex-*-grow-0
flex-*-grow-0 - Bootstrap CSS class
<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>Copy code ... You don't need to remember all CSS classes. Just use the Bootstrap Editor instead.
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › CSS › Guides › Flexible_box_layout › Basic_concepts
Basic concepts of flexbox - CSS | MDN
If we gave all of our items in the example above a flex-grow value of 1 then the available space in the flex container would be equally shared between our items and they would stretch to fill the container on the main axis.
🌐
Bootstrap
getbootstrap.com › docs › 5.0 › layout › grid
Grid system · Bootstrap v5.0
Use our powerful mobile-first flexbox grid to build layouts of all shapes and sizes thanks to a twelve column system, six default responsive tiers, Sass variables and mixins, and dozens of predefined classes.
🌐
W3Schools
w3schools.com › cssref › css3_pr_flex-grow.php
CSS flex-grow property
The flex-grow property specifies how much the item will grow relative to the rest of the flexible items inside the same container.