11. Maintainable CSS


By the end of this chapter, you will be able to write CSS code using the BEM approach and explain semantic CSS; describe componentization and rule grouping and apply these principles while writing CSS code; write maintainable SCSS with sensible file and folder structures; and implement CSS best practices to create better maintainable code. This chapter introduces the concept of maintainable CSS in terms of what it looks like and how we go about creating it. With the knowledge that's given in this chapter, you will be able to create more manageable CSS codebases in SCSS and make your web projects more future-ready for changes and other developers to pick up easily.

Introduction to Maintainable CSS

In the previous ...

Get The HTML and CSS Workshop now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.