title: Target final <div> in a set of <div>s using CSS
body: <p>I have the following code:</p>
  
  <pre><code>&lt;div class="sidebar"&gt;1&lt;/div&gt;
  
  &lt;div class="sidebar"&gt;2&lt;/div&gt;
  
  &lt;div class="sidebar"&gt;3&lt;/div&gt;
  </code></pre>
  
  <p>How do I use CSS to target the last <strong>div</strong> element? I'd like to change the styling if possible.</p>
  
  <pre><code>&lt;div class="sidebar"&gt;3&lt;/div&gt;
  </code></pre>
  
  <p>Sadly, I don't have access to the HTML generated, so is this even possible?</p>