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

Re: [csswg-drafts] [css-variables?] Higher level custom properties that control multiple declarations (#5624)

From: andruud via GitHub <sysbot+gh@w3.org>
Date: Tue, 01 Dec 2020 12:27:55 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-736521233-1606825673-sysbot+gh@w3.org>
```
my-input {
        border-radius: 0px;
	@if-var(--pill = on) {
		border-radius: 999px;
	}
}

#my-input {
       --pill: off;
}
```
@LeaVerou Just to make sure I understand the proposal, for `<my-input id=my-input>` you'd expect a `border-radius` of  `0px`, right?

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 1 December 2020 12:27:57 UTC

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