Re: [csswg-drafts] Query current element style just like container style queries (#9834)

Attribute is workaround but I'm looking for CSS variable sided solution. Because we can have fallback CSS property for providing default variant. Assume if someone don't pass the button variant then we want it to have fallback of primary. CSS var & proposed solution might come handy.

Feel free to close this if this is out of the scope.

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


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

Received on Thursday, 25 January 2024 04:55:45 UTC