Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

You Probably Want Position- Sticky Instead of Fixed

Kevin Powell via YouTube

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

Reviews

Start your review of You Probably Want Position- Sticky Instead of Fixed

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.