Image srcset

PHOTO EMBED

Mon Sep 21 2020 20:34:33 GMT+0000 (Coordinated Universal Time)

Saved by @rstringa #html #css

<picture>
<source media='(max-width: 1024px)' srcset='<?php echo get_template_directory_uri()?>/images/demo/work-image-bg--mobile.jpg' class="project__bg--mobile" alt="">
<img src="<?php echo get_template_directory_uri()?>/images/demo/work-image-bg.jpg" class="project__bg--desktop" alt="" />
</picture>
content_copyCOPY