title: Scale up images in Bootstrap 3
body: <p>How to scale up images in bootstrap 3?</p>
  <blockquote>
  <p>Images in Bootstrap 3 can be made responsive-friendly via the addition
  of the .img-responsive class. This applies max-width: 100%; and
  height: auto; to the image so that it <strong>scales nicely to the parent
  element</strong>.</p>
  </blockquote>
  <p>With the following code the image scales down well, but it's not get the parent div's size on larger screens.</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-html lang-html prettyprint-override"><code>&lt;!-- Latest compiled and minified CSS --&gt;
  &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"&gt;
  
  &lt;div class="row"&gt;
    &lt;div class="col-md-5" style="background:yellow"&gt;
          &lt;div class="image-container" style="background:green"&gt;
        &lt;img src="http://placehold.it/350x150" class="img-responsive"&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>How to do that? Demo: <a href="http://www.bootply.com/8uXBxX8Qjy" rel="nofollow noreferrer">http://www.bootply.com/8uXBxX8Qjy</a></p>