Re: [csswg-drafts] [css-properties-values-api] Shorthand for custom property declaration (#7523)

> I strongly agree with @chriskirknielsen that if such a shorthand is introduced, it still needs to be based on the `@property` rule. Without that info it is unclear what's defined by that rule.

+1

> So, either a separator _not_ allowed in `<declaration-value>` would need to be used or the shorthand would have to be restricted to `@property <custom-property-name> <custom-property-syntax> <custom-property-initial-value>;`.

What about `@property <custom-property-name>+ <custom-property-syntax> <custom-property-initial-value>;`? That would allow definition of multiple custom properties in one go

```css
@property --min --max --avg number 0;
```



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


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

Received on Tuesday, 13 September 2022 12:14:58 UTC