Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 67469

How o have two versions of images for dark/light theme?

$
0
0

I want to have a light and dark theme but I also want the images to fit the theme. But how to do that? And is it more heavy at page load or it can load only one image depending on the selected theme, and lazily load the other if the user changes the theme?


Viewing all articles
Browse latest Browse all 67469

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>