I am trying to make sure that the image on the front page of my website fits the height of the screen or device, and resizes responsively without cropping when the device height changes. How can I achieve this?
If you need a visual example of what I mean, please check out this JSFiddle.
Here is what I have tried so far:
min-height:100%;
min-width:100%;