title: Use css last-child change border
body: <p>Is that possible to use CSS <code>last-child</code> to do this?</p>
  
  <p><a href="https://i.stack.imgur.com/xdvOk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xdvOk.png" alt="enter image description here"></a></p>
  
  <p>Can I use the same class to add <code>last-child</code> and make the second border to smaller px? Or the only way to do so is by adding the different class name?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.border {
    border: 3px solid black;
    width: 80px;
    display: inline-block;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="border"&gt;&lt;/div&gt;
  &lt;div class="border"&gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>