foreground-position:stretch keep-ratio
demo