Your website can have a light and dark mode that is automatically toggled by your operation system (OS) or browser.
Making your website d...
For further actions, you may consider blocking this person and/or reporting abuse
The media query is now also supported in Chrome 76. To feature-detect if a browser supports it, you can use this snippet:
Just tried it, but didn't work on Safari as said. Am I missing something? π€
As per caniuse you need Safari v12.1. Also, did you set your system setting to dark?
See webkit.org/blog/8840/dark-mode-sup... for more information, if that helps.
I am on the latest Safari, and my system is always in dark π₯
It seems not work in embed iframe such as codepen codepen.io/qcgm1978/pen/gJoOQR
I've tried your codepen with Firefox 67 and it worked both with the dark system setting and with my add-on. So I cannot reproduce the problem hereβ¦
Maybe the chrome doesn't work.
I did a small video about it not so long ago, it will be fun to play with this with web-apps!
Hope it can help,
youtube.com/watch?v=qG6osW_oyZU