News for hackers. Stuff that matters.
Re:Show HN: CSS Quality Guide by austinlyons on Friday July 10, 2015 @01:13PM (#9865283)
Wouldn't you just instead write the CSS as follows?

  .sidebar.title {
    text-decoration: underline;
  }
Re:Show HN: CSS Quality Guide by talmand on Friday July 10, 2015 @01:36PM (#9865446)
That likely wouldn't have the intended effect as I find it doubtful that the element with the sidebar class would also be the title.
Re:Show HN: CSS Quality Guide by lstamour on Friday July 10, 2015 @02:04PM (#9865631)
Well, you could also write .sidebar > .title to be more specific than simply all .title elements in .sidebar, but the point is to not tie your CSS quite so closely to the HTML hierarchy I suppose.