title: Flex box to assign largest child width to other child width
body: <p>I have a group of child whose width should be similar. To be simple child with largest width should be assigned to other child. I tried using <code>flexbox</code> but not able to get it. Is it possible to achieve in flex box or should i go for <code>JS</code> solution. Refer my example which i tried. Please don't post any javascript answer for it.</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>.flex{
    display:flex;
    flex-direction:column;
    align-items:baseline
  }
  .flex &gt; div{
    background:#aaa
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="flex"&gt;
    &lt;div&gt;
        Text to check
    &lt;/div&gt;
      &lt;div&gt;
        Text to check for similar width
    &lt;/div&gt;
     &lt;div&gt;
        Text to check for similar width - will it work
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>