Length 23:28The unknown fundamentals of CSS: Offset parents and Stacking Context explained
About this video
A front-end walkthrough of the CSS offset parent, also called the containing block, and stacking context, using Polypane's new tools to show how elements are positioned in three dimensions. It is aimed at developers and designers who already write CSS and want to understand why positioned elements behave as they do.
What you’ll learn
- Identify the offset parent that positioned elements are measured from
- Inspect stacking contexts in browser devtools to see why elements overlap
- Predict z-index behaviour across nested stacking contexts










