Re: [csswg-drafts] [css-mixins] Are mixins inside a nested structure aware of its parents? (#12016)

Yes, this is one of the core features of the proposal. Mixins act like nested styles wherever they are applied. I tested [your code](https://codepen.io/miriamsuzanne/pen/RNPogvy/e711af36904ef8529f3c385e04810ae4?editors=0100) with the experimental chrome pre-release, and it works as expected.

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


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

Received on Wednesday, 4 June 2025 10:00:57 UTC