The background image size is set to cover. The size of the div is set to be the same width:height ratio as the background image file and tied to viewport width. This allows the background image to cover without visibally stretching. The result is a background image that behaves like an <img> element while easily supporting overlay text.