Re: [csswg-drafts] Proposal: Custom CSS Functions & Mixins (#9350)

> I always saw `@mixins` more like syntactic sugar.
>
> Where resolving would be roughly equivalent to wrapping in `&{}` and inserting that where `@apply` used to be.
> 
> Is there a specific use case where the result would be substantially different?

That's a whole different story and much simpler to implement. It would not allow you to apply `@mixin`s across stylesheets, which might be a showstopper?


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


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

Received on Wednesday, 13 September 2023 14:12:04 UTC