Skip to content

scroll triggered animations - #4163

Open
captainbrosset wants to merge 9 commits into
mainfrom
scroll-triggered-animations
Open

scroll triggered animations#4163
captainbrosset wants to merge 9 commits into
mainfrom
scroll-triggered-animations

Conversation

@captainbrosset

Copy link
Copy Markdown
Contributor

Fixes #4128

@bramus please take a first look at this and let me know if you like the description.

@github-actions github-actions Bot added the feature definition Creating or defining new features or groups of features. label Jul 8, 2026
Comment thread features/scroll-triggered-animations.yml

This comment was marked as off-topic.

@@ -0,0 +1,27 @@
name: Scroll-triggered animations
description: The `timeline-trigger`, `timeline-trigger-source`, `timeline-trigger-activation-range`, and `timeline-trigger-active-range` CSS properties trigger animation actions when a scroll or view timeline enters or leaves specified ranges.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should lead with the animation-trigger property, as that is what makes an animation to be a triggered animation.

That animation-trigger can then be a timeline trigger, which makes that triggered animation be a scroll-triggered animation.

(For completeness: the spec is also busy with defining event triggers, but that is still WIP and has not shipped yet)

group:
- scrolling
- animation
compat_features:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

css.properties.animation-trigger is missing here.

chrome: "146"
chrome_android: "146"
edge: "146"
compat_features:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

css.properties.animation-trigger is missing here.

@captainbrosset

Copy link
Copy Markdown
Contributor Author

Sorry about the copilot review comments, I clicked the button by accident.

@captainbrosset

Copy link
Copy Markdown
Contributor Author

Thank you @bramus for the review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature definition Creating or defining new features or groups of features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scroll-triggered animations

3 participants