CSS Grid Lanes: The New Way to Build Masonry Layouts

CSSnippets on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateWeb Design5 min

About this video

This tutorial shows how to use the CSS Grid Lanes feature to build responsive masonry and brick-wall layouts without JavaScript. It covers image sizes, flow-tolerance, responsive columns and browser support with @supports.

What you’ll learn

  • Build a responsive masonry image gallery with CSS Grid Lanes
  • Control item placement with flow-tolerance
  • Create brick-wall layouts using grid-template-rows