We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Maintainable CSS - The Next Frontier of Front-End Engineering

Formal Metadata

Title
Maintainable CSS - The Next Frontier of Front-End Engineering
Title of Series
Number of Parts
150
Author
License
CC Attribution - NonCommercial - ShareAlike 3.0 Unported:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal and non-commercial purpose as long as the work is attributed to the author in the manner specified by the author or licensor and the work or content is shared also in adapted form only under the conditions of this
Identifiers
Publisher
Release Date
Language

Content Metadata

Subject Area
Genre
Abstract
For over a decade, web development has been unthinkable without CSS. Yet the way how CSS is authored is far away from the professionalism we use in the rest of our code. Most developers try to avoid touching the project's stylesheets, as these contain unmaintainable spaghetti code. This can be improved by transferring common practices of software engineering to CSS authoring: With some additions, transcompilers like Sass allow to use the KISS and DRY concepts. Applying object-orientation to CSS will make it SOLID. Architectural design patterns like Separation Of Concerns achieve scalability and reusability. Styleguide-driven development allows the agile/lean principle of delaying decisions to the last responsible moment. Besides showing how to apply these practices to CSS, I will explain why they make a positive impact on maintainability.