I believe the composition of both goods and bads would form an even better answer, but what would be a correct answer about it's positive usage? I only used it a few times as a fast fix for some CSS mess that someone previous maintainer made.
You hit the only good point. Speed. Even in it's implementation !important feels like a hack. It is the only property specification that affects the cascade and at that it short circuits it. If you have a production issue you need to patch in code you don't maintain, this would be a temporary fix.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I believe the composition of both goods and bads would form an even better answer, but what would be a correct answer about it's positive usage? I only used it a few times as a fast fix for some CSS mess that someone previous maintainer made.
You hit the only good point. Speed. Even in it's implementation
!important
feels like a hack. It is the only property specification that affects the cascade and at that it short circuits it. If you have a production issue you need to patch in code you don't maintain, this would be a temporary fix.