×
×
Correct!

There is a CSS property that allows us to specify if the background image should be positioned according to the border, padding or the content.

Insert the correct CSS background property, and value, to position the image according to where the content is positioned.

<style> #example1 { padding: 20px; background-image: url('img1.gif'); background-repeat: no-repeat; background-origin: content-box; } </style>

Not Correct

Click here to try again.

Correct!

<style>
#example1 {
  padding: 20px;
  background-image: url('img1.gif');
  background-repeat: no-repeat;
  : ;
}
</style>

  
  
  




×

Reset the Score?

This will reset the score of ALL 138 exercises.

Are you sure you want to continue?



×

Congratulations!

You have finished all 138 CSS exercises.

Share your score:



Get Certified!

Take our CSS Developer Certificate to prove that you have fundamental knowledge of web development using CSS.