CSS Sticky Position
Learn sticky positioning which behaves like relative and fixed combined, perfect for section headers.
David Miller
January 8, 2026
1.0k28
Sticky starts normal, then sticks when scrolling.
## Example
```css
.header {
position: sticky;
top: 0;
}
```
## UI imagination
Section title sticks while scrolling section.
## Real-world example
- Table headers
- Documentation menus
## Key requirement
Parent must not have overflow hidden.
#CSS#Beginner