News for hackers. Stuff that matters.
Re:Show HN: CSS Quality Guide by mikewhy on Friday July 10, 2015 @02:58PM (#9866013)
I probably wouldn't go so far as to use `sidebar__post__title `, just `sidebar--title` and `post--title`. That way if you want to style a post title in the sidebar, it's clearly `.sidebar .post--title`

using something like BEM solves a lot of problems. Silly collisions and searchability are my big takeaways.

There are no comments on this comment yet.