title: CSS Selector, apply CSS every 2 divs
body: <p>I have a problem targeting divs in CSS.</p>
  
  <p>My code is like this:</p>
  
  <pre><code>&lt;div class="card"&gt;
    &lt;div class="test"&gt;Asdasdasd&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="card"&gt;
    &lt;div class="test"&gt;Asdasdasd&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="card"&gt;
    &lt;div class="test"&gt;Asdasdasd&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="card"&gt;
    &lt;div class="test"&gt;Asdasdasd&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Here why I want to do: apply some CSS but only to the first and third "test" divs (or 5th if there are 6 card divs).</p>
  
  <p>I tried to use <code>:nth-child(odd)</code> but without success.</p>