3 ms·
Yeah. My initial thought after reading the title was, "Shit. Don't tell people this! Someone's going to be crazy enough to invent something with this knowledge.
by SeanAnderson 11y ago
Yeah. My initial thought after reading the title was, "Shit. Don't tell people this! Someone's going to be crazy enough to invent something with this knowledge."
Anyone who has worked with CSS long enough knows that:
1) Rule priority can get out-of-hand very quickly.
2) It's a nice thought to have more powerful selectors, but, taking #1 into consideration, perhaps limiting its power isn't such a bad idea after all.
I was already on-board with using PostCSS modules, https://github.com/postcss/postcss https://github.com/postcss/postcss, to selectively import functionality for use in CSS rather than the heavy-handed approach of bringing all of SASS, LESS, or Stylus. Leaving powerful expression to languages built for it seems natural -- especially when CSS and JS intermingle so heavily.