sassc-ruby icon indicating copy to clipboard operation
sassc-ruby copied to clipboard

Error: ! IMPORTANT | Invalid CSS after

Open gus4no opened this issue 5 years ago • 1 comments

I just ran into this, and found this issue has been reported here -> https://github.com/sass/sassc-rails/issues/97 , however I believe the issue is this project.

I'll happily change the syntax of sass files I own, to use !important rather than !Important or !IMPORTANT but there's some dependencies I can't control which use the ones that are failing.

Any particular reason the engine raises invalid CSS whenever using these variants of !important ?

gus4no avatar Mar 03 '20 22:03 gus4no

I'd love to see an answer to this, too. I have the same question. We did a find/replace so it wasn't a huge issue, but I'm wondering why !important is set as the best practice here rather than other variants.

aronmoshe-m avatar Jun 24 '20 00:06 aronmoshe-m