DEV Community

Discussion on: Using !important in CSS

Collapse
 
guitarino profile image
Kirill Shestakov

I believe there is no valid use cases for !important. Your suggestions on the alternatives are top-notch, and following these usually makes your code cleaner.

Collapse
 
cguttweb profile image
Chloe • Edited

You've clearly never built an HTML email :) inline styles for Outlook so need to use !important to overwrite them... horrible but in this case necessary.