title: Image acts differently on Firefox
body: <p>I have two responsive images that shrink in size as the browser window shrinks.<br>
  The images work fine on Chrome and Edge but for Firefox one of the image acts different, it stops shrinking. <br>
  Can anyone help me out with this? You can see the issue in mobile view.<br>
  Thanks in advance.
  <a href="https://i.stack.imgur.com/aZCL0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aZCL0.png" alt="enter image description here"></a></p>
  
  <p><br>
  This is my code:</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>.row-images {
    display: flex;
  }
  
  .main-image {
    float: left;
  }
  
  img {
    border: 0;
    vertical-align: top;
    max-width: 100%;
  }
  
  .side-image {
    float: left;
    margin-top: 2em;
    margin-left: 4%;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="row-images"&gt;
    &lt;div class="main-image"&gt;&lt;img src="http://icabinets.joomji.com/skin/frontend/ultimo/child/images/row10.png"&gt;&lt;/div&gt;
    &lt;div class="side-image"&gt;&lt;img src="http://icabinets.joomji.com/skin/frontend/ultimo/child/images/row10_side.png"&gt;&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I have my code <strong><a href="https://codepen.io/anon/pen/RpXVMR" rel="nofollow noreferrer">here</a></strong></p>