Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Awesome!! (But the double hyphen in 'hint--top' or 'hint--left' is a bit cheesy...)


The double hyphen is actually part of a pretty common naming convention (BEM-style) for distinguishing between separate components, component modifiers, and component sub-objects.

Examples: https://gist.github.com/1309546 http://nicolasgallagher.com/about-html-semantics-front-end-a... http://csswizardry.com/2013/01/mindbemding-getting-your-head... http://engineering.appfolio.com/2012/11/16/css-architecture


Good job with the citations


Also liked it - and agree, double hyphen is mega ewww.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: