E
E
ended2021-01-20 16:45:47
Bootstrap
ended, 2021-01-20 16:45:47

The blocks of the second line take the width of the blocks of the first line, how to fix it?

There is a line of two col-6 blocks and a term of three col-4, when the screen is reduced, everything goes right, but at a certain moment, when the blocks should stand one per line, the blocks of the second line become the width of the blocks of the first line and because of this it moves out block content.

Первая строка:
 <div class="row justify-content-center text-center">
        <div class="col-lg-6 col-12 mt-5"> 
        </div>
        <div class="col-lg-6 col-12 mt-5">
         </div>
</div>
Вторая строка: 
<div class="row justify-content-between text-center">
        <div class="col-lg-4 col-md-6 col-12 mt-5">
        </div>
        <div class="col-lg-4 col-md-6 col-12 mt-5">
        </div>
        <div class="col-lg-4 col-md-6 col-12 mt-5">
        </div>
</div>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey delphinpro, 2021-01-20
@ended

remove col-md-6

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question