AI, Data Science & Cloud Certificates from Google, IBM & Meta
Learn Backend Development Part-Time, Online
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This course compares CSS `position: sticky` and `position: fixed`, demonstrating sticky positioning for headers, navbars, and other effects. It also explains common behavior and mistakes that can prevent sticky positioning from working.
Syllabus
- Introduction
- comparing fixed to sticky
- sticky is better for headers and navbars
- sticking to the bottom might not work how you expect
- A fun use case for sticking to the bottom
- Headings pushing each other out of the way
- The mistake people make with position sticky that stops it from working
Taught by
Kevin Powell