Z-Index Secrets: Josh Comeau's Guide to CSS Positioning #shorts

Design Systems House on YouTubeWatch on YouTube

SaveMark complete

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

ShortIntermediateWeb DesignDesign Systems1 min

About this video

A short that summarises Josh Comeau's advice against using z-index for layering, favouring DOM order and the browser top layer instead.

What you’ll learn

  • Reconsider z-index as a layering tool in CSS