Coding for Beginners: Recap #49—Background Images and Gradients

Maribel Gray on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

BeginnerDesign Engineering7 min

About this video

This beginner lesson in the Coding for Beginners series shows designers how to load a background image with CSS and control its repeat behaviour. It uses an article page to show how a section's width, height and padding let content overlap the image.

What you’ll learn

  • Load a background image into the body with CSS
  • Control whether a background image repeats using background-repeat
  • Lay a content section over a background image using height and padding