Keith J Grant on Nostr: npub1m0vcr…ldu9y `--second-color` is resolved where it's assigned, at :root. On ...
npub1m0vcr0caxjdqex0pk5kpsqlt3emc2mcajvmlzdq0px3rm6v6wjzq8ldu9y (npub1m0v…du9y) `--second-color` is resolved where it's assigned, at :root. On :root, --color is red, and thus so is --second color.
--second-value isn't defined as a lookup of --color, it's defined as red
(Unrelated, but possibly connected to the confusion, CSS inheritance is separate from the cascade. values are "cascaded" to resolve values, then inherited by descendants)
--second-value isn't defined as a lookup of --color, it's defined as red
(Unrelated, but possibly connected to the confusion, CSS inheritance is separate from the cascade. values are "cascaded" to resolve values, then inherited by descendants)