Note this will not work for IE9, as it doesn't support CSS transitions.
Sadly there is no timeline object for CSS animations, so they can only be triggered and not have their progress directly bound to scroll progress.
The duration can however be used to revert the animation to the previous state after a specific scroll distance. If classes are used for animating this happens automatically if the scene has a duration.view source
This is a grey area.view source