Home › Forums › CSS › Responsive Content Image › Re: Responsive Content Image
April 10, 2013 at 5:31 am
#131220
Member
Be aware that `background-size: contain` will cause the image to shrink vertically when the viewport is reduced as well which might lead to some whitespace underneath it.
>Contain well scale the image to the largest size such that both its width **and its height** can fit inside the content area.
Try it and see.