DocsGuidesScroll progress
Tie an icon to scroll, with no script
The value is a registered CSS number, so a scroll timeline can animate it. No script.
@keyframes read { from { --v: 0; } to { --v: 1; } }
.progress .fidg {
animation: read linear both;
animation-timeline: scroll(root);
}The book in the corner of this page does the same thing, reading along with you.
Something missing or unclear?Write to usRequest an icon