title: Flexbox wraps last column of the first row in Safari
body: <p>The last column of the first row is wrapped to the next line when viewing in Safari, and some other iOS based browsers.</p>
  
  <p><strong>Safari:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/FhYyn.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/FhYyn.jpg" alt="enter image description here"></a></p>
  
  <p><strong>Chrome / Others:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/Vkvr0.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/Vkvr0.jpg" alt="enter image description here"></a></p>
  
  <p><strong>Code:</strong></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>.flexthis {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  
  .flexthis .col-md-4 {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="row flexthis"&gt;
    &lt;div class="col-md-4 col-sm-6 text-center"&gt;
      &lt;div class="product"&gt;
        &lt;img src="img.jpg" alt="" class="img-responsive"&gt;
        &lt;h3&gt;Name&lt;/h3&gt;
        &lt;p&gt;Description&lt;/p&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>