RT @ChromiumDev: When “not all†is nothing. Finding out about media query support in the browser. â¤µï¸ https://t.co/i3ZVZQFlwg
Recently we’ve sent our Intent to Implemenent for the proposed `navigation-controls` media feature: https://t.co/UZ931ATtlu.
🤔 But how can you find out if the browser understands this media feature—or any media query really? My article has you cov
@BartoszBobin You need to be careful: this approach leaves browsers that don’t understand the media query stand in the rain. https://t.co/6mGEmx67Hq
@elecash @angular @ChromiumDev That sounds super cool. Is there a link to your app? No worries if it’s potentially in a rough shape, this is purely out of curiosity.
@kennethrohde @Una @materialdesign Here’s the Material demo with the fixed toggle (until the Chrome bug gets resolved): https://t.co/Bqbfg7FtF9.
@kennethrohde @Una @materialdesign Meanwhile I have just released v0.4.0 of `<dark-mode-toggle>` that works around this bug: https://t.co/ffUmudWmbV. See https://t.co/Qm36h2tlwP for the up-to-date demo.
@kennethrohde @Una @materialdesign Hmmm, there seems to have been a breaking change between 76 and 77. It works correctly in Firefox and Safari. Filed https://t.co/AhsOVqg0MK.
@imchriskitchens @Una 🤩 Toggle or `prefers-color-scheme`? Why not both? https://t.co/nkEfWgkHJ1
Just remixed @Una’s @materialdesign Glitches with `prefers-color-scheme` & material toggle to have the best of both worlds 🎉: https://t.co/xrqSTnp5j6.
💉 Initially respects `prefers-color-scheme`.
💉 Supports overriding—optionally permanently.
M