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

> drawing board

Throwing more ideas out there (possibly already suggested):

```css
@property --length {
  syntax: "<length>";
  inherits: false;
  initial-value: 2147483647px;
}

@property --width from --length;
@property --height from --length;

@property --depth from --length {
  initial-value: 0px;
}
```

Though I'm not sure if the following would be sufficiently clear:

```css
@property --width, --height from --length;
```

I'd not want that to be read as `--width` (list item one), and then `--height from --length` (list item two).

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


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

Received on Friday, 5 December 2025 10:23:03 UTC