title: Using SASS Variables within nth-child?
body: <p>I have a grid set up of thumbnail images, currently 4 thumbs per row. To make sure they line up i have this snippet of code:</p>
  
  <pre><code>li:nth-child(5) { margin-left: 0;}
  </code></pre>
  
  <p>What I have tried to do is this but I am getting a syntax error:</p>
  
  <pre><code> $galleryGrid: 5;
      li:nth-child($galleryGrid) { margin-left: 0;}
  </code></pre>
  
  <p>If I wanted to alter the nth-child to use another value, such as 10 (so I can have 8 thumbs in a row), I assumed this would work.
  Is this not possible or am I just doing incorrectly?! </p>
  
  <p>Thanks in advance for you help.</p>