Introduction to CSS modules

These days there are several problems when you’re writing cascading style sheets. CSS files usually grow really fast, and you’ve probably experienced the following difficulties: Classes defined in global scope; Dependencies; Elimination of dead code; Minification; Sharing constants; Non-deterministic resolution; Encapsulation. In addition to these points, when a development team doesn’t adopt good conventions and […]

These days there are several problems when you’re writing cascading style sheets. CSS files usually grow really fast, and you’ve probably experienced the following difficulties:
Classes defined in global scope; Dependencies; Elimination of dead code; Minification; Sharing constants; Non-deterministic resolution; Encapsulation. In addition to these points, when a development team doesn’t adopt good conventions and best practices, all the style sheets become rather difficult to maintain and extend.
Source: InVision