There was an error while loading. Please reload this page.
If you do:
div { color: green; @media (width > 0) { color: red; background: red; } background: green; }
My understanding is that per spec the div color and background would be red.
That seems rather confusing. There are various alternatives here:
div { color: green; @media (width > 0) { color: red; background: red; } & { background: green } }
Maybe something else?
cc @fantasai
Status