Closed
Description
MDN URL: https://developer.mozilla.org/en-US/docs/Web/CSS/@property
The MDN article mentions a multiple property syntax:
@property --primary-color,
@property --secondary-color,
@property --text-color {
syntax: '<color>';
inherits: true;
}
@property --primary-color {
initial-value: red;
}
@property --secondary-color {
initial-value: blue;
}
@property --text-color {
initial-value: green;
}
However, the grammar in the spec does not appear to support such a thing, nor is it supported by any implementation.
MDN Content page report details
- Folder:
en-us/web/css/@property
- MDN URL: https://developer.mozilla.org/en-US/docs/Web/CSS/@property
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/css/@property/index.html
- Last commit: 4c02f1d
- Document last modified: 2021-05-26T12:38:08.000Z