Slaying the Dragon: Refactoring CSS for Maintainability – Alicia Liu at Front-Trends 2014

Refactoring is a practice that is often overlooked when it comes to CSS. As a result, CSS seems to just grow and grow like a hydra, until no one knows for sure which styles apply where, or whether many rules are still used at all. We’ll cover methods for refactoring CSS including code organization and naming, dealing with incremental change, and special considerations for responsive styles. Rewrites are costly and high risk, refactor instead!

Likes: 44

Viewed: 4025