With the move to flexbox in v4, you can use margin utilities like.me-autoto force sibling columns away from one another.
Since 9 + 4 = 13 > 12, this 4-column-wide div gets wrapped onto a new line as one contiguous unit.
Subsequent columns continue along the new line.
You may also apply this break at specific breakpoints with our responsive display utilities.
There are also responsive .order-first and.order-last classes that change the order of an element by applying order: -1andorder: 6, respectively. These classes can also be intermixed with the numbered .order-* classes as needed.
The .col-* classes can also be used outside a.row to give an element a specific width. Whenever column classes are used as non direct children of a row, the paddings are omitted.
Offsetting Columns
In addition to column clearing at responsive breakpoints, you may need to reset offsets.
The classes can be used together with utilities to create responsive floated images. Make sure to wrap the content in a .clearfixwrapper to clear the float if the text is shorter.
A paragraph of placeholder text. We're using it here to show the use of the clearfix class. We're adding quite a few meaningless phrases here to demonstrate how the columns interact here with the floated image.
As you can see the paragraphs gracefully wrap around the floated image. Now imagine how this would look with some actual content in here, rather than just this boring placeholder text that goes on and on, but actually conveys no tangible information at. It simply takes up space and should not really be read.
And yet, here you are, still persevering in reading this placeholder text, hoping for some more insights, or some hidden easter egg of content. A joke, perhaps. Unfortunately, there's none of that here.