Light and dark mode image in HTML
Did you know you can change images bases on the user preferred Color-scheme?
This nifty piece of code could already be used in CSS, but did you know it works directly in HTML?
We can detect if the user prefers a dark or light color schema and show a ...
h.daily-dev-tips.com1 min read
Shreyasi Patil
Always on the learning journey
This is awesome!!!!