Y
Y
yadscreech2019-03-25 14:33:03
css
yadscreech, 2019-03-25 14:33:03

WebP and mobile version?

In general, there is a parallax on the site , you need to make sure that on tablets and laptops SOME pictures DO NOT LOAD AT ALL (and one changes to another special one for tablets and mobiles), and not just loaded and hidden with dis-none. I ask you to help with the implementation, I read about <pictures>, but there is a bias in the retina, I did not understand anything.
Essence:
If a normal browser and a large screen - then load everything and webp.
Otherwise: If a normal browser and a small screen, then load one and webp.
Otherwise: If a bad browser and a big screen, then load everything and png.
Otherwise: If a bad browser and a small screen - then load one jpg.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dima Polos, 2019-03-25
@yadscreech

You are right here: YouTube channel
Here, direct instructions: video , starting from 23 minutes +\-
Another bonus: cool report .
Good luck!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question