Getting started with Background Images

What would the web be without images? A big pile of boring content. That's it! In this lesson, I will get you started with background images in CSS.

In this section we will take a deep look at background images and the vast array of options CSS has for us. This is one fun section!

The first question in your mind is perhaps, how do I set an image as the background of an element?

Pretty easy.

For some of the examples in this lesson, I’ll be using these two images.

Get hands-on with 1400+ tech skills courses.