Simple dark-mode switch using filter: invert(1); will cause body DOM problems down the line.
Better use this method to point HTML as css class either using JQuery or ES6.
Mohnish Landge
https://github.com/mohnishlandge
Hope you find it Useful-
First, learn the code you'll actually use in your projects.
Top comments (0)