S
S
Snatch082020-03-26 21:11:01
css
Snatch08, 2020-03-26 21:11:01

How to make a mob. version of the site for different screens with a high pixel density per inch?

Good day Sensei! What about Retina and other high pixel density screens? When developing a mobile version of the site, there is a problem with pixels. On the iPhone, the resolution is high and the elements are smaller than they should be. Is it possible to set css to px without resorting to vh, vw, vmin, vmax, em, rem, so that the same picture would be obtained on all smartphones?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2020-03-26
@Snatch08

https://developer.mozilla.org/en-US/docs/Mozilla/M...
This is so that the retina is not tiny
But about

Is it possible to set css to px without resorting to vh, vw, vmin, vmax, em, rem, so that the same picture would be obtained on all smartphones?

Look, you have a screen of 320 pixels and 480. How do you want to get the same view by setting the size in pixels without resorting to relative sizes?
Read about css media query, image set responsive design and fluid design and use it all

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question