- From: Soldeplata Saketos Candela via GitHub <sysbot+gh@w3.org>
- Date: Thu, 10 Apr 2025 09:00:03 +0000
- To: public-css-archive@w3.org
this looks more like a `switch case` and not an `if else` block I would refactor your proposal like ```css #target { background: switch( style(--num-children >= 10): red; style(8 <= --num-children < 10): orange; style(6 <= --num-children < 8): yellow; default: green; ); } ``` -- GitHub Notification of comment by Silverium Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11759#issuecomment-2792056353 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 10 April 2025 09:00:04 UTC