M
M
Maxim Ivanov2021-02-28 14:26:40
css
Maxim Ivanov, 2021-02-28 14:26:40

What can be done with the deterioration of the quality of images when resizing the page?

What can be done with the deterioration of the quality of images when resizing the page? That is, is it possible to optimize them so that the quality is the same as on the PC?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vladimir Yurchenkov, 2021-02-28
@EPIDEMIASH

Resize in which direction? If less.
I use:

width: 100%;
height: 100%;
-o-object-fit: cover;
object-fit: cover;

P
ploskost, 2021-02-28
@ploskost

Use image sets and svg.
Read
https://developers.google.com/web/fundamentals/des...
Watch
https://www.youtube.com/watch?v=nTtuiBXKp88

P
polxz, 2021-02-28
@polxz

it's just better to use not png, but svg
. png is a bitmap, svg is vector

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question