Create a diamond grid with CSS (with a bonus animation)

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateWeb DesignUI26 min

About this video

A CSS tutorial that builds a diamond-shaped grid of images with clip-path, then animates the shapes and fades elements on hover. It is aimed at people who already know CSS basics.

What you’ll learn

  • Build a diamond-shaped grid layout with CSS
  • Animate a clip-path shape on hover
  • Keep rounded corners and layering correct during hover effects