News for hackers. Stuff that matters.
Re:Purecss.io – A set of small, responsive CSS modules by Yahoo by Yaggo on Tuesday August 20, 2013 @08:21AM (#6243184)
<button class="pure-button pure-button-disabled">A Disabled Button</button>

Oh please. Why not just a <button disabled>? So much redundancy and overly-verboseness for nothing.

"Namespacing" your CSS classes would make sense if you were actually composing element's style from multiple frameworks/libraries (vs. programming code), but that's not usually the case with CSS frameworks.

Re:Purecss.io – A set of small, responsive CSS modules by Yahoo by sergiotapia on Tuesday August 20, 2013 @09:26AM (#6243539)
I disagree with you.

Have a .button class for styles of the button, font-family, height, width, border-radius, etc. You want _all_ .button elements to share this look and feel.

Then overwrite background colors, border colors etc on a button-primary, button-delete, etc classes.

It makes sense and it works.

Re:Purecss.io – A set of small, responsive CSS modules by Yahoo by Yaggo on Tuesday August 20, 2013 @04:08PM (#6246199)
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.)
Re:Purecss.io – A set of small, responsive CSS modules by Yahoo by sergiotapia on Tuesday August 20, 2013 @04:41PM (#6246408)
Your 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.
Re:Purecss.io – A set of small, responsive CSS modules by Yahoo by Yaggo on Wednesday August 21, 2013 @05:06AM (#6248946)
Please read again what I wrote above. I'm not saying every button should look identical or you shouldn't use classes at all.
Re:Purecss.io – A set of small, responsive CSS modules by Yahoo by beefxq on Tuesday August 20, 2013 @01:58PM (#6245376)
It's people like you that produce impossible to maintain css...
Re:Purecss.io – A set of small, responsive CSS modules by Yahoo by JoshMilo on Tuesday August 20, 2013 @11:01AM (#6244096)
It's based on SMACSS, that's why they did it like that. It is a bit verbose though. I forked it so that I could make it a little cleaner. http://smacss.com/