Answer the question
In order to leave comments, you need to log in
Why is the em font different for different screens?
On a small resolution - large, and on large - small? How to set the font once for different screens so that it doesn't "run"?
Answer the question
In order to leave comments, you need to log in
There are several types of units of measure in CSS. Like, px, em, % and rem. There are probably more, but these are the main ones.
Moreover, there are 27-inch screens with a resolution of 1280x720 pixels. And there are screens of 27 inches with a resolution of 1920x1080. On the second, the text will be smaller than on the second simply because of the number of pixels on the screen available.
On phones, browsers usually take 1 pixel as 2-4-8 real pixels. How to "enlarge" the page for a more convenient human perception.
Related articles:
https://getinstance.info/articles/css/css-font-sizing/
https://developer.mozilla.org/ru/docs/Web/CSS/@media
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question