- From: Thomas Steiner <notifications@github.com>
- Date: Tue, 28 Sep 2021 01:15:17 -0700
- To: w3ctag/design-reviews <design-reviews@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 28 September 2021 08:15:30 UTC
> In this case, if the `dark.css` is inlined into the document as a number of CSS rules. When the color scheme changes and `light.css` is loaded, the user will experience unexpected effects because rules from the two stylesheets will co-exist (because one of the stylesheets is inlined). In this case, you'd simply programmatically turn the inlined stylesheet off through its [`media`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style#attr-media) attribute: ```html <style media="not all"> /* Whatever is here, it's not applied anymore. */ </style> ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3ctag/design-reviews/issues/632#issuecomment-928962268
Received on Tuesday, 28 September 2021 08:15:30 UTC