DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
CSS Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
CSS
What causes `position: sticky` to stop working, most commonly?
A
sticky is not supported in any modern browser
B
Forgetting to set an explicit offset like top:0 (sticky behaves like static without one), or an ancestor having overflow other than visible
C
sticky can only be used on <div> elements
D
sticky requires JavaScript to function
Check Answer