Active item index:
Category:

Each story item turns blue when it enters the viewport and green when it becomes "active" at the triggerpoint (red line), which by default is the top of the viewport. "Active" is exclusive, so only one item can be active at a time.

Our code here
Apple
Orange
Bananna
Pear
Peach
Squash
Broccoli
Spinach
Carrots
Pizza
Pancakes
Subs
Cake