<img src="https://live.staticflickr.com/8120/28675611463_caae84a1a8_b.jpg" alt="a pink flowers with green pollen in focus against a bokeh background of the same flowers" id="max" />
img {
  display: block;
}

#max {
  width: max(50vw, 600px);
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.