Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Well done!

You have completed (UPI) Chapter 4: Understanding the CSS Box Model!

Instruction

Background Properties

CSS enables you to add background colors and images to elements. These properties allow for flexible styling and customization of background visuals. /* Setting a solid background color */ element { background-color: #f2972e; } /* Adding a background image */ element { background-image: url('images/background.jpg'); background-repeat: no-repeat; background-position: center; ...