There are new CSS units which base themselves off of the width and/or height of the browser window otherwise known as the "viewport". Below are some examples of applying the units to images, although you can apply the units to elements that are NOT images such as divs, figure, etc. Resize the browser window to see how images resize themselves based on the browser window or viewport.
The CSS unit of vw = "viewport width" and vh = "viewport height"