R
R
RomanSS2018-03-16 10:35:10
css
RomanSS, 2018-03-16 10:35:10

How to make the viewport so that the layout layout is 400 wide, reduced by 320 screen?

Please tell me, there is a page with a minimum width of 400px and a maximum width of 1600 (there are media query transitions between these sizes).
How to fit a 400px layout on smartphones with a width of 320px without scrolling, so that it just shrinks it (reduces it proportionally) to 320?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Artur Bordenyuk, 2018-03-16
@HighQuality

You can try to make a mobile version of rubber. After all, there are also large phones at 576px

A
Aleksandrov, 2018-03-17
@alexandr2006

<meta name="viewport" content="width=device-width">

E
Exploding, 2018-03-17
@Exploding

I would not do that)))

@media only screen and (max-width: 399px) {
  html {
    zoom: .8;
  }
}

D
Dmitry, 2018-03-22
@dxp

must be set in this case, the device itself will apply scaling to its width

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question