how to resize an image to fit the screen html code example Example: make image scale based on screen size background-size: cover