V
V
Vladislav Boychenko2016-08-27 15:40:53
css
Vladislav Boychenko, 2016-08-27 15:40:53

Why does it adapt on the desktop, but not on Android?

Hello.
In general, there is a site layout ( pstroh440.zzz.com.ua/www ). I use bootstrap features, but not the grid, as the designer decided not to give a damn about the grid. Made everything by hand. But if you narrow the window on the desktop, then adaptability is normally visible even under 320px, and if you log in from the phone, it does not fully adapt. I can't figure out why. Any ideas?
Subject: pstroh440.zzz.com.ua/www
9c353a59f76841a3972be395d58f55c8.jpg

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vladislav Boychenko, 2016-08-27
@vladislav_boychenko

Found a solution! I didn't duplicate the width of the elements in media queries. Specified a minimum, maximum and just a width of 100% on the first media query of 1200px. It would make sense if it just continued on to subsequent, smaller requests, but no. Duplicated everywhere and it worked.

A
Alexander Aksentiev, 2016-08-27
@Sanasol

link

X
xmoonlight, 2016-08-27
@xmoonlight

And Android can correctly display the layout?
Certainly! It's Android!

<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question