Coding for Beginners: Recap #51—Background Origin and Attachment

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 episode of the Coding for Beginners series for designers explains the CSS background-origin and background-attachment properties. It compares the scroll, fixed and local attachment values using full width section images.

What you’ll learn

  • Set background-origin to border-box, padding-box or content-box
  • Compare scroll, fixed and local background-attachment behaviour
  • Apply background-origin and background-attachment to full width section images