- From: Frances Cornwall via GitHub <sysbot+gh@w3.org>
- Date: Wed, 10 Jan 2024 19:12:39 +0000
- To: public-css-archive@w3.org
There would be a space in between `*important` and the previous, just like in `!important`. This would live in the CSS realm where *important is always declared separated by a space. We could possibly alias it as `~important`, `^important`, or `&important` if it causes less confusion to web developers.
An example:
`.myElement {
color: blue;
font-size: 16px;
}
/* Override styles with *important */
.myElement.special {
color: red !important;
font-size: 20px !important;
}`
and an alias of
`.myElement {
color: blue;
font-size: 16px;
}
/* Override styles with *important */
.myElement.special {
color: red *important;
font-size: 20px *important;
}`
--
GitHub Notification of comment by francescorn
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9778#issuecomment-1885487407 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 10 January 2024 19:12:42 UTC