Using the !important property or ordering CSS declarations

Folks, I've seen how important the possibility of using the !important property in some properties in CSS is.

For those who create a template (like me) and assemble a kind of "framework", leave these classes already configured for use in development. Throughout coding, other classes are created and end up overlapping the previous ones.

Another option is to be able to modify the order in which the classes are declared, giving freedom to move above or below others, so we can keep the "priority" ones at the end of the CSS.

  • Wendell Mosquini Pozzatti
  • Dec 1 2022