3 ms·
Agreed partially. I seems like the counterpart is: "if you need variables, then use pre-processors". Well, when I've needed variables to ease changes on CSS f
by txutxu 11y ago
Agreed partially.
I seems like the counterpart is: "if you need variables, then use pre-processors".
Well, when I've needed variables to ease changes on CSS files, I've used a template system (previous to all current pre-processors).
- wallacoloo 11y agoSame here. My html pages already use a template system - why not use the same one for my CSS files? As a bonus, I get proper dependency tracking for my CSS files (i.e. which font files does it require at run-time, which other CSS files should trigger a rebuild when changed, etc) because my templating system is already rigged to do that. I could never figure out how to extract a dependency list from SCSS files, though I didn't search for very long.