title: set div width according to largest div
body: <p>I have a group of 5 <code>div</code>s, all with auto width.</p>
  
  <p>The text will be inserted dynamically into each div and I want to change all <code>div</code>s width to the largest of the 5.</p>
  
  <p>Any ideas?</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>.box {
    display: inline-block;
    border: 1px solid #eaeaea;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="box"&gt;Hi&lt;/div&gt;
  &lt;div class="box"&gt;Hi John&lt;/div&gt;
  &lt;div class="box"&gt;Hello John&lt;/div&gt;
  &lt;div class="box"&gt;Hello John Doe&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I think I should be using JS, but I'm wondering if it's possible to avoid it.</p>