title: Select last child when odd, 2 last childs when even
body: <p>I'm in a situation where the number of elements showed is variable, and I need a strange solution which I'm not able to achieve, I even doubt if it's achievable only with css.</p>
  
  <p>I need to select the last-child if my number of elements is odd, and the last 2 child if the number of elements is even. </p>
  
  <p>I've been trying with <code>nth-last-child</code>, <code>:not(:nth-last-child())</code>, odd and even, but never got a good solution.</p>
  
  <p>Anyone has any idea/advice about this issue a part of adding a class "odd" like on html tables?</p>
  
  <p>Thanks a lot in advance!</p>