data-srcset 'w' attribute explanation
sajcics opened this issue · 1 comments
sajcics commented
I can't find explanation what exactly w
attribute inside data-srcset stands for?
When I define <img class="lozad" data-srcset="img1.jpg 500w, img2.jpg 1000w">
does 500w
means to min-width or max-width of the screen or?
Thank you.
sajcics commented
Yeah. I found out answer. If someone has same question, follow this link: https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images