title: Making nth-child work in IE8 and lower
body: <p>I'm making use of the following code:</p>
  
  <pre><code>.c-1:first-child, .c-2:first-child, .c-1:nth-child(4n+1) { margin-left: 0; }
  </code></pre>
  
  <p>which is working great but I need to mimic this for browsers that do not support nth-child, like IE8.</p>
  
  <p>I have tried this jQuery code to add a class but nothing happens, is this code right?</p>
  
  <pre><code>// Support nth child in IE8
  $('.c-1:first-child').addClass('remove');
  $('.c-2:first-child').addClass('remove');
  $('.c-1:nth-child(4n+1)').addClass('remove');
  </code></pre>