html resize image to screen width code example Example: make image scale based on screen size background-size: cover