CSS Auto Dark and Light Mode
Watch tutorial on YouTube https://www.youtube.com/watch?v=G7hAgGudKmA
to learn how to detect in browser whether the user prefers a Light or Dark color theme based on the user's system preferences with prefers-color-scheme CSS media features, and how to automatically apply the preferred theme to your web site/application.
More by Mahmoud Elmahdi View profile
Like