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

Re: [csswg-drafts] [css-var] var(property) (#5729)

From: andruud via GitHub <sysbot+gh@w3.org>
Date: Thu, 26 Nov 2020 19:52:04 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-734458705-1606420322-sysbot+gh@w3.org>
(I think this adds too much complexity to be worth doing, but I'll play anyway):

Is there a benefit vs. just using custom props? E.g.

```
.class {
  --width: 10px;
  width: var(--width);
  height: calc(var(--width) + 5em);
}
```

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 26 November 2020 19:52:05 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:22 UTC