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

@tabatkins How will nested conditions be written? 

As far as I understood it this would be the inline solution
`
my-input {
    border-radius: cond((var(--pill) = on) cond(var(--half) 10px; 999px); 0px);
}
`

`my-input {
        color: blue;
 @if (var(--pill) = on) {
  color: green;
 }
}`

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 9 December 2020 20:53:49 UTC