nth-child-ref.html (569B)
1 <!DOCTYPE HTML> 2 <html><head> 3 <meta charset="utf-8"> 4 <title>Tests :nth-child(An+B) matching</title> 5 <style type="text/css"> 6 7 x { background-color:black; } 8 x { font-size:12px; } 9 x { text-decoration: underline; } 10 x { border-left-width: 1px; } 11 x { border-right-width: 1px; } 12 x { border-top-width: 1px; } 13 x { border-bottom-width: 1px; } 14 x { border-style: solid; border-color: blue;} 15 16 </style> 17 </head> 18 <body> 19 20 <div><x>x</x><y>x</y><y>x</y><x>x</x><y>x</y><y>x</y><x>x</x><y>x</y><y>x</y><x>x</x><y>x</y></div> 21 22 </body> 23 </html>