leiyuanshuai / sticky

A demo using sticky positioning for a scrollyteller type thing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A position:sticky example

This is an example of how you might use the new css position:sticky property to fix a scrollyteller-like element to the screen while scrolling. This removes the slight jitter you get in the split second between scrolling and fixing the element.

To see this demo go here.

For an example on the old way try the Australia as 100 people ABC article.

Made by Josh

\ ゜o゜)ノ

About

A demo using sticky positioning for a scrollyteller type thing


Languages

Language:JavaScript 65.2%Language:HTML 26.7%Language:CSS 8.1%