News for hackers. Stuff that matters.
Re:Show HN: CSS Quality Guide by jt2190 on Friday July 10, 2015 @02:09PM (#9865659)
If not underlining post titles is so important, than the CSS rule should make that explicit:

.post .title { font-weight: bold; text-decoration: none; }

Leaving text-decoration out of the rule is basically saying: "I defer to my ancestor rules for advice on styling this, and I accept their decision."

Re:Show HN: CSS Quality Guide by mikewhy on Friday July 10, 2015 @03:01PM (#9866046)
It's not just that the post titles shouldn't be underlined, it's that one elements style should not creep into another elements style by accident
Re:Show HN: CSS Quality Guide by marcosdumay on Friday July 10, 2015 @03:46PM (#9866295)
Well, the "all descendants" selector is explicitly intended to do that. It's a bit too far to call it "by accident".

There's rarely a real use for the ".sidebar .title" construction.

Re:Show HN: CSS Quality Guide by talmand on Friday July 10, 2015 @04:27PM (#9866526)
Rarely? I would think the vast majority of websites would have a version of that in place in several ways.