The background-size CSS property scale the image to the largest size such that both its width and its height can fit inside the content area.