4 ms·
My point is that <button> already means a button and can be selected for default styling with 'button' or 'button.delete' selectors (by the framework and by you
by Yaggo 13y ago
My point is that <button> already means a button and can be selected for default styling with 'button' or 'button.delete' selectors (by the framework and by you for overwriting). Ditto for [disabled], etc. (... also, support for multi-class selectors .like.this.and.that landed ages ago, no need for repeating-your repeating-your-class repeating-your-class-names-manually.)
- sergiotapia 13y agoYour argument doesn't work in the majority of cases. Many times a button element can be either a small '.toolbar-button', or a '.widget-button' or a '.principal-button'. Difference sizes, looks and feel, for the same element type.
- Yaggo 13y agoPlease read again what I wrote above. I'm not saying every button should look identical or you shouldn't use classes at all.