Chapter 5. File Organisation and Naming Conventions

In the last chapter we took a high-level overview of the design considerations of ECSS. In this chapter we will start digging a little deeper into how we actually get started using ECSS.

Two cornerstones of making ECSS work for you are adhering to the file organisation and class naming convention principles. Let's look at each of these aspects next.

Project organisation

If we want to facilitate the easy removal of code from our website/application, we need to think about the way we organise the files that make up our project. Typically, when building websites, particularly web applications, it's useful to think in terms of modules or components; definable sections of the user interface. These modules ...

Get Enduring CSS 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.