A
A
Alexander2015-06-24 17:42:33
css
Alexander, 2015-06-24 17:42:33

How to properly layout for different screens using toggle divece mode in Chome?

I laid out one block for the screen 320 by 480 using the toggle divece mode in Chome, specifying the width and height. Then I try to access my site through the phone and I see a completely different result, in contrast to what was shown by oggle divece mode .

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Ineshin, 2015-06-24
@IonDen

Inside head should be a viewport meta tag, something like this:

<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=0" />

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question