Scaling Background Images, Codecademy, Learn Responsive Design, Sizing Elements

Lesson Summary

In this lesson we learn how to scale a background image. In order to scale a background image using css we use the background-size property and set it to cover. This will make sure the image stays in proportion.