Tutorials Bugs Masterclass Free stuff Test pages Proposals

Core tests

Advanced tests

This test

RichInStyle.com tests: the adjacent sibling combinator

Should be red

  1. color: red

    .adjsib + .adjsib {color: red}

Should not be red

  1. .adjsib + .adjsib {color: red}

  2. There follows a P of class notadj inside a DIV of class notadj with (.notadj + .notadj {color: red}).



  3. * + .notatall {color: green} with P inside DIV