L
L
Leshiy666132018-02-05 15:52:06
css
Leshiy66613, 2018-02-05 15:52:06

How to make a site with a minimum width of 480px fit into a mobile window of 320/375/412 etc. in mobile firefox?

A site with a minimum width of 480px.
It's written in the header

<meta name="viewport" content="width=device-width">
, body and other required blocks are limited by the minimum width. In all other popular mobile browsers on android / ios and desktop, everything looks as it should, but in mobile firefox the site does not fit, and the visible area remains the size of the screen (for example, 320 pixels). Nobody faced? what can be done about it?
The width of the site can no longer be reduced. All these parameters (width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no ) do not help, I tried everything out of boredom.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
tyzberd, 2018-02-05
@Leshiy66613

write a script that will change the viewport when the width is less than 480px.
https://stackoverflow.com/questions/15040408/achie...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question