P
P
partyzanx2017-07-28 10:05:54
css
partyzanx, 2017-07-28 10:05:54

How to display a block width of 640 pixels on a mobile device?

Hello. I have a website, 640px wide.
I would like the site width to be the same 640px in mobile design, but just a larger font (font sizes are not a problem), and mobile would show 640px regardless of its extension as 100% full screen width.
How to tell mobile device to show pure 640 pixels as 100%?
PS I can't make the design stretchable, because my html is immediately broken there.
I just specify the font increase in css depending on the width of the device, but I don't want to change the width of the site itself.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dima Pautov, 2017-07-28
@bootd

<meta name="viewport" content="width=640">

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question