The background values no one knows about

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateUI15 min

About this video

A CSS tutorial explaining the background-repeat space and round values, including browser support and a practical use case building a star pattern. It suits developers who already know basic background images in CSS.

What you’ll learn

  • Use background-repeat: space to fit whole background images without cropping
  • Apply background-repeat: round to scale tiles so they fill an element evenly
  • Check browser support for background-repeat values before relying on them