title: CSS nth-child - get 1st, 2nd, 4th and 5th children at once?
body: <p>With CSS3 I know I can use the <code>nth-child(an + b)</code> selector. I have a table with 5 rows and I would like to select the 1st, 2nd, 4th and 5th rows with one statement.  Is this possible or do I have to use a minimum of two statements like this:</p>
  
  <pre><code>:nth-child(-n+2)  /* gets 1 and 2 */
  :nth-child(n+4)   /* gets 4 and 5 */
  </code></pre>
  
  <p>I was hoping for a syntax like <code>nth-child(1,2,4,5)</code> or <code>nth-child(1-2,4-5)</code> but it doesn't appear to be part of the spec.</p>
  
  <p>(I have no control over the page and there are no IDs/classes on these rows.)</p>