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

Exactly. There shouldn't be a markup structure to style dependency. Personally I would never use an element selector because it makes life really difficult when you need to refactor the markup, which happens fairly often in my experience. Using classes doesn't make things less semantic as long they are named correctly and as long as the markup is semantic.


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

Search: