Answer the question
In order to leave comments, you need to log in
How to bootstrap 4 col-xx-xx inside another div?
There is this code:
<div class="row">
<div>
<div class="col-xl-3">IMAGE</div>
<div class="col-xl-9">TEXT</div>
</div>
</div>
Answer the question
In order to leave comments, you need to log in
Everything works correctly, study the flexes. .row
contains appropriately when your html wrapper outer div becomes a flex element
classes like .col inside have properties that allow them to position themselves inside a flex container.
If you need a grid within a grid add the .row class to the inner div and it will work display: flex,
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question