Tutorials Bugs Masterclass Free stuff Test pages Proposals

Core tests

Advanced tests

This test

RichInStyle.com test pages - Application of style to elements: :first-child

  1. The following block has: DIV.holder {color: green} DIV.holder :first-child {color: red} .hello :first-child {color: blue}

    Anonymous content in the DIV.holder that should be green.

    Red (first-child of DIV.holder). Red (first-child of .hello, but DIV.holder :first-child has greater specificity).

Not red

  1. Dummy content

    ADDRESS:first-child {color: red}, but not a first-child)