Hacker News new | past | comments | ask | show | jobs | submit login

It is better to use BEM naming, so the example becomes

    <button class="btn btn--warning">
Here double minus means that "warning" is a state of an element named "btn".



Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: