Re: [csswg-drafts] [css-values-4] inherit() function: like var() for parent value, for any property (#2864)

I found this on css tricks about SVG and using two colors un <use> and I think it's quite similar to the parent/inheritance relationship, and uses currentColor as a nice little way to avoid the shadow DOM boundary; https://css-tricks.com/lodge/svg/21-get-two-colors-use/

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


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

Received on Thursday, 26 August 2021 15:04:46 UTC