- From: Callie Riggins Zetino via GitHub <sysbot+gh@w3.org>
- Date: Thu, 15 Feb 2024 21:54:24 +0000
- To: public-css-archive@w3.org
Would the concepts of `Add animation-trigger for triggering animations when an element is in a timeline's range` from https://github.com/w3c/csswg-drafts/issues/8942 potentially apply here as well? It seems to have some overlap. It would definitely not have as much power as a state or media query, but if the main use case is triggering animations it might be sufficient? **Proposed in Scroll Triggered Animation Issue** ```css animation-play-state: toggle(entry 50%); ``` **Potential use in scroll direction** ```css animation-play-state: scroll(block forward); /* if we want 2 animations; 1 to show it and 1 to hide it */ animation-play-state: scroll(block forward), scroll(block reverse); ``` -- GitHub Notification of comment by calinoracation Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6400#issuecomment-1947401592 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 15 February 2024 21:54:25 UTC