Modular CSS Methods

3 answers

Using the server side to assemble your “modules” into a single server-side style sheet is definitely recommended here. So there is some kind of cache on the server, so it doesn’t need to build for each request. Many technologies are available for this, but your message does not contain anything about your software stack.

+2
source

Check out the Compass CSS Framework . It supports modular CSS through mixins and simplifies CSS by adding variables, arithmetic, and including style frames such as Blueprint .

0
source

, . - , , CSS-, . . CSS , ? , .

. , 5 / ( )... , , , . , . , , . , , . - ( ) -geek.

0

Source: https://habr.com/ru/post/1770827/


All Articles