Re: [csswg-drafts] [css-nesting-1] Yet another nesting proposal (Option 5) (#7970)

Yes, you'd have to repeat the outer rule.

But, the point of nesting is to make the stylesheet smaller and more maintainable. It completely defeats the purpose to have an `@supports` block in the same stylesheet to also include non-nested versions. With any of the proposals, the best way to support older browsers is to write your stylesheet with nesting, and then use a pre-processor to generate a non-nested version, then use the `@supports` mechanism to import either the more modern or the older (and larger) stylesheet when necessary.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 5 December 2022 06:00:00 UTC