title: CSS Responsive image with viewport max height
body: <p>I would like to have a responsive image with 80vw width for example. I want it to fit entirely on the screen and <strong>keep the proportions</strong> (if the height is too large, the width should decrease)</p>
  <pre><code>img {
  width: 80vw;
  max-height: 80vh;}
  </code></pre>