Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<html>
<head>
<title>nth-child(...of S) with many children, where only some match</title>
</head>
<body>
<p>Test passes if there is no red.</p>
<div>
<p></p>
<p></p>
<p></p>
<p>1</p>
<p>2</p>
<p></p>
<p></p>
<p>3</p>
<p>4</p>
<p></p>
<p></p>
<p>5</p>
<p></p>
<p></p>
<p>6</p>
<p></p>
<p>7</p>
<p></p>
<p></p>
<p></p>
<p></p>
<p>8</p>
<p></p>
<p></p>
<p></p>
<p>9</p>
<p>10</p>
<p></p>
<p></p>
<p>11</p>
<p>12</p>
<p></p>
<p></p>
<p>13</p>
<p>14</p>
</div>
</body>
</html>