CSS Tip: Use position:sticky in Your Lists @CSSWeekly
CSS Tip: Use position:sticky in Your Lists  @CSSWeekly
Uploaded May 2026 | Updated September 2026, 3 hours ago
A quick CSS tip explaining why you should set the headings in your ordered and unordered (ol & ul) lists to "position: sticky" to improve the usability of your websites.

πŸ‘¨β€πŸ’Ό My blog: zoranjambor.com
πŸ’Œ CSS Weekly Newsletter: css-weekly.com

Help support my channel
πŸ’– Watch ad-free videos on Patreon: patreon.com/cssweekly
πŸͺ§ Buy CSS Stickers pack: stickers.css-weekly.com
β˜•οΈ Buy Me a Coffee: buymeacoffee.com/cssweekly

πŸ“– Chapters
00:00 Why you should use position:sticky with your lists
00:14 Demo setup and usability problem with lists
00:49 How to add position: sticky to list headlines
01:47 Why you should add background to sticky headlines
02:07 How to use position:sticky in ul and ol lists

Keep up-to-date with CSS Weekly:
πŸ¦‹ Bluesky: https://bsky.app/profile/cssweekly.com/
🐦 Twitter: twitter.com/@cssweekly
🎢 TikTok: tiktok.com/@cssweekly
πŸŽ‡ Instagram: instagram.com/cssweekly
πŸ“˜ Facebook: facebook.com/CSSWeekly

Keep up to date with what I'm up to:
πŸ‘¨β€πŸ’Ό Blog: zoranjambor.com
πŸ’Ό LinkedIn: linkedin.com/in/zoranjambor

- Zoran Jambor
#css #csstricks
CSS Tip: Use position:sticky in Your ListsCSS Stickers!CSS Quick-Tip: Custom Properties Fallback ValuesTabs vs SpacesHow To Use Touch ID for SUDO on macOSFrontend News #22: x86 CPU in CSS, pointer-box-offset Property, Detecting at-rule SupportHow To Debug iOS Safari With Xcode SimulatorFrontend News #15: Transform Order Matters, Creative Drop Caps, Frontend Developer QuizUse CSS Weekly Archives To Find the Best CSS Content & ToolsTransparent HEX Colors???Simplify Your CSS Using :is() and :where() Pseudo-ClassesAdvanced Positioning in CSS Grid
CSS Weekly |

CSS Tip: Use position:sticky in Your Lists

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER