title: Selector nth-child producing odd results in CSS
body: <p>I need to select my number of items is odd. No matter an element class "box-media2"</p>
  
  <p>Anyone has any idea/advice about this issue a part of adding a class "odd" ?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.box-media:nth-child(2n+1) {
    color: red;
  }
  
  .box-media2 {
    display: none;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="box-media"&gt;Test&lt;/div&gt;
  &lt;div class="box-media2"&gt;&lt;/div&gt;
  &lt;div class="box-media"&gt;Test&lt;/div&gt;
  &lt;div class="box-media2"&gt;&lt;/div&gt;
  &lt;div class="box-media"&gt;Test&lt;/div&gt;
  &lt;div class="box-media2"&gt;&lt;/div&gt;
  &lt;div class="box-media"&gt;Test&lt;/div&gt;
  &lt;div class="box-media2"&gt;&lt;/div&gt;
  &lt;div class="box-media"&gt;Test&lt;/div&gt;
  &lt;div class="box-media2"&gt;&lt;/div&gt;
  &lt;div class="box-media"&gt;Test&lt;/div&gt;
  &lt;div class="box-media2"&gt;&lt;/div&gt;
  &lt;div class="box-media"&gt;Test&lt;/div&gt;
  &lt;div class="box-media2"&gt;&lt;/div&gt;
  &lt;div class="box-media"&gt;Test&lt;/div&gt;
  &lt;div class="box-media2"&gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>