- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Sat, 08 Mar 2025 01:43:09 +0000
- To: public-css-archive@w3.org
This is now doable with the `if()` function: ``` --foo: attr(party); background-color: if( style(--foo: "Dem"): blue; style(--foo: "Rep"): red; style(--foo: "Grn"): green; else: gray); ``` So, closing as addressed. ^_^ -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4484#issuecomment-2707876141 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 8 March 2025 01:43:10 UTC