Stop fighting with CSS positioning

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateUIWeb Design22 min

About this video

A CSS tutorial explaining containing blocks and how position absolute, sticky and fixed interact with them, including responsiveness issues and why position fixed can behave unexpectedly. It suits developers and designers who already write CSS layouts.

What you’ll learn

  • Explain how containing blocks determine where absolutely positioned elements land
  • Keep position absolute elements responsive within their container
  • Apply position sticky and diagnose why position fixed sometimes breaks