background-size: cover
Cover: scales the background image so that the content area is completely covered; some parts of the background image may not be visible.
background-size: contain
Contain: scales the background image to be as large as possible; there may be some areas of the background which are not covered.
background-size: 50% 100%