Re: [csswg-drafts] [css-cascade-4] Add an alias to !important (#9778)

`!important` is declared using a space beforehand. It would live in the CSS realm. It would be the same with `*important`. We can also possibly use `^important` or `&important` as an alias.

an example:
````
.myElement {
  color: blue;
  font-size: 16px;
}

/* Override styles with !important */
.myElement.special {
  color: red !important;
  font-size: 20px !important;
}
````

an alias:
````
.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-1885588737 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:40:56 UTC