Easily create overlapping sections on a website

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateUI11 min

About this video

Kevin Powell shows two CSS approaches to creating overlapping sections on a website, using box-shadow and a gradient, and asks which solution viewers prefer. It suits developers and designers who already know some HTML and CSS.

What you’ll learn

  • Create an overlapping section effect with box-shadow
  • Build the same overlap using a CSS gradient
  • Compare the trade-offs of the two approaches