How does webapp solve the problem of resolution compatibility? Is there any way to learn from Android to solve the resolution problem, and why not?

recently read the front-end https://www.w3cplus.com/mobil.
this article, feel very troublesome, why not learn Android


Don't bother, that solution is just for you to write px, directly and then solve some compatibility problems, etc. If you can manually convert it to vw, you won't quote anything.
for example, in the design of 750px, if an element is the width of 150px, calculate it manually (150 Universe 750) * 100 = 20, and write 20vw.
the same is what rem adaptation means.

< hr >

does the vw unit mean the same thing as the shares in your Android?

Menu