Class
row is a flex wrapper for the columns (it has
display: flex; by default from bootstrap css). The classes that you mean like
d-flex are utilities.
You can use the bootstrap grid inside any div using its standard classes
row and
col without utilities.
Code: Select all
<div class="some-class-name-block">
<!-- Bootstrap grid start -->
<div class="row">
<div class="col-*"></div>
<div class="col-*"></div>
<div class="col-*"></div>
</div>
<!-- Bootstrap grid end -->
</div>
kosh2323 wrote: ↑Thu Dec 08, 2022 9:08 am
At the same time, I can use any container itself, it must have a display:flex class. A grid of containers can be built on a Grid. Right?
Yes but
container (If you are talking about class) may have any display property you want.
display:flex for it is not necessary. For
container class in Bootstrap is used only paddigs, margins,width and max-width. The display property is not defined and by default is
display:block from main html rules