The height and width are specified in pixels and the image is styled with a max-width of 100%. Thus when the horizontal screen resolution is less than the width of the image specified in pixels, the display width of the image will be reduced so that it fills the screen with no scrollbars. To maintain the aspect ratio as the display width of the picture gets smaller, height: auto is specified.