Answer the question
In order to leave comments, you need to log in
There are 4 and 10 photos in a row. How to split a grid?
There are 4 and 10 photos in a row. How to split a grid?
screenshot.ru/02b8d350d83109cea589e11a5b18478a
screenshot.ru/4929e8a80daa1627424be258461f46ae
Make a cell for each photo? In the second case it will be like this:
<div class="container">
<div class="row">
<div class="cols col-3">
<img src="http://placehold.it/206x120" alt="фото">
</div>
<div class="cols col-3">
<img src="http://placehold.it/206x120" alt="фото">
</div>
<div class="cols col-3">
<img src="http://placehold.it/206x120" alt="фото">
</div>
<div class="cols col-3">
<img src="http://placehold.it/206x120" alt="фото">
</div>
</div>
<div class="row">
<div class="cols col-3">
<img src="http://placehold.it/206x120" alt="фото">
</div>
<div class="cols col-3">
<img src="http://placehold.it/206x120" alt="фото">
</div>
<div class="cols col-3">
<img src="http://placehold.it/206x120" alt="фото">
</div>
<div class="cols col-3">
<img src="http://placehold.it/206x120" alt="фото">
</div>
</div>
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question