Re: [csswg-drafts] [css-values]: Express conditional values in a more terse way (#5009)

Oh absolutely, `<any-value>` is a must for anything like this, in fact I have examples with keywords and `<image>` values in [my proposal](https://drafts.csswg.org/css-conditional-values-1/#if).
In fact, I'm not even sure about the comma-based syntax because that makes it impossible to specify values that include commas, so an alternate syntax I'm considering is keyword-based:

```css
flex-flow: if(100vw > 500px then row else column);
```

@faceless2 Note that in your second example, these are keywords, not strings, so they wouldn't have quotes.

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


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

Received on Thursday, 25 February 2021 13:42:32 UTC