Unordered Children

ul > li

Sure maybe ul.class > li made sense, but take away the class, and this bit of CSS is pure donkey status.

Every ul has a direct descendant li, so ul > li is basically the same as ul li.

Submission by Jon Raasch

One Comment to “Unordered Children” Subscribe to comments


  1. Juanedc says:

    Your comment is awaiting moderation.

    In:
    “ul>li>ol>li”

    “ul>li” only affect:
    “ul>li”
    BUT
    “ul li” affect:
    “ul>li”
    AND
    “ul>li>ol>li”

Leave a Reply



  • HTML permitted