12 December 2011
12:21:pm
12:21:pm
Flexible Images for Responsive Design
So how does this work? It's simple. Just put your image in a container and set the width of your image to 100%. Then set the max-height of the container to 450px and hide the overlap by setting the overflow to hidden.