Position: Sticky – CSS
Sticky positioning is a hybrid of relative and fixed positioning. The element is treated as relative positioned until it crosses a specified threshold, at which point it is treated as fixed positioned.
Tips, Scripts, Tools, Bookmarks, and Inspiration for Web Designers and Developers.
Sticky positioning is a hybrid of relative and fixed positioning. The element is treated as relative positioned until it crosses a specified threshold, at which point it is treated as fixed positioned.
CSS Reset for Mobile website development
How to move placeholder to top on focus AND while typing inside form-input?