W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2020

Re: [csswg-drafts] [css-values] enable the use of counter() inside calc() (#1026)

From: Steren via GitHub <sysbot+gh@w3.org>
Date: Sat, 26 Dec 2020 21:40:58 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-751398777-1609018857-sysbot+gh@w3.org>
I landed here because I assumed I would be able to do something like this in CSS:
```
li:nth-child(n) {
  background-color: hsl(calc(120 *n), 100%, 70%);
}
```

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 26 December 2020 21:40:59 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:37 UTC