Answer the question
In order to leave comments, you need to log in
What is the best way to retinize images?
Who does retination and why?
I want to find a better way, because previously I stupidly squeezed the block 2 times less.
Heard about src set , but only heard :)
Thanks.
Answer the question
In order to leave comments, you need to log in
https://developer.mozilla.org/ru/docs/Learn/HTML/M...
Very good and detailed article. You will understand what is written here, you can even wipe your nose at an experienced front-end developer in some dispute =)
<picture class="intro-background">
<source srcset="images/[email protected]" media="(min-width: 2521px)">
<source srcset="images/[email protected]" media="(min-width: 1261px)">
<img src="images/background.png">
</picture>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question