Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for <timeline-range-name> in @keyframes #355

Conversation

romainmenke
Copy link
Contributor

@romainmenke romainmenke commented Jun 9, 2023

see : https://www.w3.org/TR/scroll-animations-1/#named-range-keyframes

With scroll driven animations, @keyframes rules can now look like this :

@keyframes {
  cover 50% {
    color: purple;
  }
}
<keyframe-selector> = from | to | <percentage [0,100]> | <timeline-range-name> <percentage>

@aeschli aeschli self-assigned this Sep 25, 2023
@aeschli aeschli enabled auto-merge (squash) September 25, 2023 17:51
@aeschli
Copy link
Contributor

aeschli commented Sep 25, 2023

Thanks a lot!

@aeschli aeschli merged commit 9e05a33 into microsoft:main Sep 25, 2023
6 checks passed
@romainmenke romainmenke deleted the timeline-range-name--amiable-axolotl-ff8c85f649 branch September 25, 2023 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants