resize image background html code example
Example 1: css image cover
object-fit: contain;
Example 2: background: url("image/banner-image-1.jpg") no-repeat center top; background-size:cover;
-moz-backface-visibility: hidden;
object-fit: contain;
-moz-backface-visibility: hidden;