Jay on Nostr: Either my brain isn't working quite right, or this is a very subtle nuance of how ...
Either my brain isn't working quite right, or this is a very subtle nuance of how #CSS custom props are inherited.
The value of prop A, if set to the value of another prop B, can't be changed by altering the value of prop B in another selector, even if that selector is more specific.
In other words, the values of custom props don’t cascade into other custom props that use them.
https://codepen.io/jsit/pen/qBgXjbR
The value of prop A, if set to the value of another prop B, can't be changed by altering the value of prop B in another selector, even if that selector is more specific.
In other words, the values of custom props don’t cascade into other custom props that use them.
https://codepen.io/jsit/pen/qBgXjbR