News for hackers. Stuff that matters.
Re:A modern responsive front-end framework based on Material... by drinchev on Friday April 24, 2015 @12:42PM (#9434436)
Yeah, sorry for the mistake. Yes, you are right in this case bad code would look like :

    <ul class='collection'>
        <li>
          Is red
          <ul class='collection'>
            <li class='collection-special'>Should be blue</li>
          </ul>
        </li>
    </ul>

    
    .collection > li { color: red; }
    .collection-special { color: blue; }
http://jsbin.com/tulenoxutu/1/edit?html,css,output

There are no comments on this comment yet.