title: Borders only between elements
body: <p>I need to know how to make a borders between my items like the following image:</p>
  
  <p><img src="https://i.stack.imgur.com/iO28L.jpg" alt="enter image description here"></p>
  
  <p>I tried making it using <code>border-right</code> and -left but the last item shouldn't have a <code>border-right</code>.</p>
  
  <p>My CSS:</p>
  
  <pre><code>border-top: 1px solid #000;
  border-right: 1px solid #000;
  </code></pre>
  
  <p>How can I apply <code>border-right</code> to all but the last element on the row?</p>