- From: mangelozzi via GitHub <sysbot+gh@w3.org>
- Date: Tue, 26 Jul 2022 12:33:46 +0000
- To: public-css-archive@w3.org
mangelozzi has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-!] Abbreviated form of `!important`, to simply `!` ==
When working with CSS utility frameworks, they tend to have all their rules ending with `!important`.
A significant chunk of the generated output is just `!important`.
What if `!` had the same meaning as `!important` so that these two lines did the same thing:
```css
.foo{color:red!important}
.foo{color:red!}
```
I can't see any tokenizing issues with this proposal, but others may explain why its not possible. I suspect people will say it will be gzipped away when sent from the server to the client, however it might be unneccessary verbosity for developers writing/diff'ing sourcecode. It is a feature I would really appreciate, and maybe others would to.
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7538 using your GitHub account
-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 26 July 2022 12:33:47 UTC