Re: [csswg-drafts] proposal: [CSS-cascade] import only in moment when we need it.

Possible solutions:

* add a keyword (`async`?) that goes after the url() and before the MQ (or maybe on either side of the MQ), which indicates the stylesheet can be loaded whenever (and specifically, when the condition actually matches).
* add a `media()` function that takes a MQ, and implicitly gives it this async behavior (like `supports()` has)

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3050#issuecomment-417495642 using your GitHub account

Received on Thursday, 30 August 2018 23:06:15 UTC