News for hackers. Stuff that matters.
Re:We put $200k into a site that sucks. Please destroy us wi... by drinchev on Sunday July 06, 2014 @06:57PM (#7996190)
Actually there are a couple of rules that I managed to pick up from the frontend community about CSS rules.

1) Don't use tag names in css

    div.something should be .something
2) Don't use id's

3) Isolate elements into logical components and name part of those components in the css.

    <button class='button button-primary'><span class='button--icon-search'></span></button>

There are no comments on this comment yet.