A
A
Alexander Pankov2015-01-19 10:41:39
css
Alexander Pankov, 2015-01-19 10:41:39

Bootstrap layout crashes on mobile, how to fix it?

Hello!
I am developing a landing page based on bootstrap, the fact is that later adaptive layout is required, so I already decided to do bootstrap, but without adaptation, I rigidly indicated
.container { width: 1200px; }
So I have 6 (six) .col-xs-4 blocks, it turns out they should be in 2 (vde) lines of 3 (three elements), here on a computer and on tablets, everything seems to be okay! 153019a6b9cf459cb7705d842991d28e.PNG
If we open it on the phone, then such a thing happens, I don’t understand why at all (I think something needs to be done with the stand up of the block ...)
3163a4b8eb994a57920d72f4d2c4a159.png
What should I do ?? Thanks in advance for your help!
Here is a link to this site, you can see the SITE in detail

Answer the question

In order to leave comments, you need to log in

3 answer(s)
T
tennalian, 2015-01-19
@tennalian

or put clearfix after 3 columns

C
Constantine Karnaukhov, 2015-01-19
@genteelknight

Use flexbox to make all columns the same height. Or place them in two lines (.row) with 3 elements

V
Vladislav Kopylov, 2015-01-20
@kopylov_vlad

After the third column put
<div style="clear: both"></div>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question