SMACCS – Refactoring CSS for Maintainability

When you reach a point in your project where CSS changes become something nobody dares to do, it might be the right time for some refactoring to gain maintainability.

Getting rid of those (random and way too many) !important’s and selectors from hell ( h2 a .actually_sidebar span) what I like to call them instead of adding more of them to circumnavigate possible side-effects.

Maintaining legacy CSS is no fun, time-consuming, and error-prone. Even less funny is doing major frontend-refactorings when you never can be sure what you might destroy on the way without directly recognizing.