CSS Grid Layout With Image Span

Traversy Media on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateWeb Design14 min

About this video

Shows how to build a CSS grid layout in which images span multiple grid elements, using the background-attachment fixed property. It is aimed at people who already write some CSS.

What you’ll learn

  • Build a grid layout from scratch with CSS
  • Make images span multiple grid elements
  • Apply background-attachment fixed to grid images