B
B
Blackmilk42018-04-14 13:26:43
css
Blackmilk4, 2018-04-14 13:26:43

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

2 answer(s)
V
Violetta Morozova, 2018-04-19
@Blackmilk4

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 =)

P
profesor08, 2018-04-14
@profesor08

<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>

Better than any words.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question