Answer the question
In order to leave comments, you need to log in
Can you explain how this bootstrap code works?
The downloaded template, written in bootstrap, contains the following lines:
<div class="row client-logo">
<div class="col-md-2 col-sm-4 col-xs-6"><img src="logo/1.png" alt=""></div>
<div class="col-md-2 col-sm-4 col-xs-6"><img src="logo/2.png" alt=""></div>
<div class="col-md-2 col-sm-4 col-xs-6"><img src="logo/3.png" alt=""></div>
<div class="col-md-2 col-sm-4 col-xs-6"><img src="logo/4.png" alt=""></div>
<div class="col-md-2 col-sm-4 col-xs-6"><img src="logo/5.png" alt=""></div>
<div class="col-md-2 col-sm-4 col-xs-6"><img src="logo/6.png" alt=""></div>
</div>
Answer the question
In order to leave comments, you need to log in
You understood correctly. One line is 12 columns. If the sum of the columns exceeds 12, the last one goes to a new line
md - all 6 elements in one line.
sm - 3 elements per line, 2 lines will work.
xs - 2 elements per line, 3 lines will be
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question