| 1 |
.exclamation { |
| 2 |
// `!` is technically not allowed at the top-level of a custom property, but |
| 3 |
// that's only because `!important` is filtered out before the custom property |
| 4 |
// is parsed by the CSS parser. As far as Sass is concerned, it's fine. |
| 5 |
--important: value !important; |
| 6 |
|
| 7 |
// We even allow constructions like these for forwards-compatibility with |
| 8 |
// additional flags or syntax CSS might add. |
| 9 |
--multiple: !important !important; |
| 10 |
--other-word: !something; |
| 11 |
--in-identifier: foo!bar; |
| 12 |
--just-exclam: !; |
| 13 |
--just-exclams: !!!!!!!; |
| 14 |
} |