Jo Blaszak• 110
@jblaszak
Submitted
Thanks for the help @SHMITEnZ and @hazel79!
@SHMITEnZ
@jblaszak
Submitted
Thanks for the help @SHMITEnZ and @hazel79!
@SHMITEnZ
Posted
Ciao Jo!
Congrats on your solution, it really looks good!
For the images I personally used the HTML picture tag, with the below code:
<picture>
<source media="(max-width: 640px)" srcset="images/image-product-mobile.jpg">
<source media="(min-width: 641px)" srcset="images/image-product-desktop.jpg">
<img class="p-img" src="./images/image-product-desktop.jpg" alt="">
</picture>
Hope this helps!
Marked as helpful