Why does the meta written by "the solution of 1px" in the desert only use to set scale??

Let"s take a look at the Desert"s "talking about the solution of 1px under Retina", which mentions that the viewport is enlarged to the dpr multiple of device-width, and then the 1/dpr multiple display is reduced.

as follows:

<meta name="viewport" content="initial-scale=0.3333333333,maximum-scale=0.3333333333,minimum-scale=0.3333333333,user-scalable=no"/>

but only set the scale, in the meta he wrote, don"t you set the size of the viewport

Nov.02,2021

enlarge viewport to dpr multiple of device-width, then zoom out 1/dpr multiple to display

this sentence is true. As for why you ask the teacher why the viewport is not set, it is because the default viewport is the dpr multiple of device-width. For example, the viewport of iPhone6 plus is 1242, the width is 414, and the DPR is 3.


dpr represents the actual pixel width represented by 1px you wrote in css, so 1/dpr is the real 1px

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e478eb-44187.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e478eb-44187.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?