loading...

re: Poor Man's Dark Mode Using CSS Filter VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Hi Rik! You would to do it more shortener :not(img) { filter: invert(100%) } This selector will match everything(even html and body) except ...
 

Apart from selector performance, which often is negligible, I wonder if filtering every element OR only the top one would result in a noticeable rendering performance. Also, would this not result in multiple elements inverting their parent element filter?

Code of Conduct Report abuse