title: How to exclude last child in css pseudo class selector
body: <p>I want to apply a particular style for child div from  4  to n-1 .i was able to do from 4 to n , but could not exclude the last div</p>
  
  <p>here is the jsfiddle
  <a href="http://jsfiddle.net/8WLXX/" rel="nofollow noreferrer">http://jsfiddle.net/8WLXX/</a></p>
  
  <pre><code>.container div:nth-child(n+4)   {     background: red; }
  </code></pre>
  
  <p>All I want is exclude last div also.</p>