- From: Andreas Røsdal via GitHub <sysbot+gh@w3.org>
- Date: Wed, 16 Apr 2025 10:09:07 +0000
- To: public-css-archive@w3.org
andreasrosdal has just created a new issue for https://github.com/w3c/csswg-drafts:
== Proposal: Add // Single-Line Comment Support ==
I propose allowing // single-line comments in CSS, similar to JavaScript and many other languages.
This would improve readability and developer experience.
Example of usage in CSS:
```
.table-cell--number-small{
text-align: right;
white-space: nowrap; // Amount numbers in cells should not wrap.
}
```
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12087 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 16 April 2025 10:09:08 UTC