In this video tutorial I’ll be showing you how to detect the OS color scheme using CSS and JavaScript. With this technique, you can introduce a “dark mode” for your websites, which will change automatically when a users device has “dark mode” enabled.

#javascript #html #css #webdev

Detect OS Dark or Light Mode with CSS & JavaScript
1 Likes27.25 GEEK