Menu

Dangerous: !important

I’m no expert in CSS but I do know that using !important excessively is dangerous. A lazy developer would use !important to force it to look like something. I call them lazy because they refuse to use the point system. Instead of making the selectors more specific, they just use !important. When adding a style and it didn’t work, !important is not your only option.

!important should be your very last option. It’s dangerous to use it whenever because another developer might get confused on why his newly defined property is not working. Only to find out after that it got overwritten because of a previously stated property with !important. And that !important wins out all the time, regardless if you make yours very specific. It’s a bully, really.