title: Flex item shrinking even with flex-shrink: 0
body: <p>The <code>flex-shrink</code> property specifies how the item will shrink relative to the rest of the flexible items inside the same container so when I give a <code>flex-shrink</code> of <code>0</code> it shouldn't shrink but it shrinks.</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>#content {
    -ms-box-orient: horizontal;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -moz-flex;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-around;
    justify-content: space-around;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-align-items: stretch;
    align-items: stretch;
  }
  .box {
    flex-grow: 1;
    flex-shrink: 0;
    border: 3px solid rgba(0, 0, 0, .2);
  }
  .box1 {
    flex-grow: 1;
    flex-shrink: 0;
    border: 3px solid rgba(0, 0, 0, .2);
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;h4&gt;it shinks with a flex-shrink of 0&lt;/h4&gt;
  &lt;div id="content"&gt;
    &lt;div class="box" style="background-color:red;"&gt;A&lt;/div&gt;
    &lt;div class="box" style="background-color:lightblue;"&gt;B&lt;/div&gt;
    &lt;div class="box" style="background-color:yellow;"&gt;C&lt;/div&gt;
    &lt;div class="box1" style="background-color:brown;"&gt;D&lt;/div&gt;
    &lt;div class="box1" style="background-color:lightgreen;"&gt;E&lt;/div&gt;
    &lt;div class="box" style="background-color:brown;"&gt;F&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>