How would I create an image that behaves in a similar way a background image would behave when it's set to cover. I.e. on different screen sizes, the image would cover the full width and height of the container.
So if the parent container is set to 1000px wide & 450px high, and the image is any other dimension, how can it cover the whole space on all breakpoints?
Note: I'm not referring to background image. I'm referring to an image tag.