Ask HN: CSS architecture techniques?
* Minimize the length of a selector to make it general? Maximize it to make it specific? (I tend to be hyper-specific)
* Use a standard hierarchy of selector (#page-name .content-block .sub-element .element).
* Use CSS modules (/css/widgets/user_list.css, /css/widgets/merchant.css).
* Use SASS or SCSS?
* Divide CSS by function (e.g. .left, .right) and module (e.g. .widget, .widget-calendar).
* Pick jQuery-UI/ExtJS/etc, study their CSS and follow their lead?
Can you recommend great articles, advice or guides? As with programming, I know that there are a number of styles of coding for CSS; I just haven't seen them discussed as much as OO vs FP on HN and CSS seems pervasive, critical and, basically, randomly used.