CHAPTER 14

image

Applying Stylus, Less, and Sass

Using Cascading Style Sheets (CCS) is a must for any web project, but CSS style sheets are tedious to write and manage in complex projects. This is mainly due to the fact that CSS is not a real programming language. CSS has no inheritance, variables, or functions. Code reuse and maintainability is a pain in the neck for plain CSS resources. This is especially true for large projects or CSS libraries that are intended to be shared among various projects.

The solution to the pain of using plain CSS is to use another, better language that is compiled into CSS at the time of the build (for production) or ...

Get Pro Express.js 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.