feat(core): add elastic spring pop animation - #85291
Conversation
❌ PR Closed — Files Outside
|
|
🔒 Pull Request Closed: This PR has been automatically closed because it does not contain any file changes under the |
|
🔒 PR Closed (Unmerged). This PR was closed without being merged. No GSSoC points or credit awarded. |
📊 CSS Bundle Size BenchmarkThis PR changes the size of
|
❌ Submission Validation FailedThank you for your contribution! However, some required files are missing or incorrect. 📋 Required Structure🔍 Issues Found:🔠
|
|
🔒 Pull Request Closed This PR was automatically closed because it failed the submission validation check. Please fix the issues listed above, then open a new pull request. Thank you! |
Pull Request Description
This PR adds a new Elastic Spring Pop animation to the EaseMotion core animation library. The animation provides a smooth, lightweight spring-style entrance effect using hardware-accelerated
transformandopacity, with configurable timing variables andprefers-reduced-motionsupport.Type of Change
Submission Checklist
submissions/(e.g.,submissions/examples/your-feature-name/orsubmissions/docs/your-feature-name/)demo.html— self-contained, opens in browser with no serverstyle.css— raw CSS for the proposed featureREADME.md— what it does, how to use it, why it fits EaseMotion CSScore/components/Feature Description
What does this add?
Adds the
ease-elastic-spring-popkeyframe animation andease-anim-elastic-spring-poputility class for a smooth elastic pop effect using onlytransformandopacity.How does a developer use it?
The animation timing can be customized using the existing EaseMotion timing variables:
Why does it fit EaseMotion CSS?
The animation follows EaseMotion CSS's animation-first philosophy by providing a reusable, lightweight motion utility without JavaScript. It uses compositor-friendly
transformandopacityproperties, supports configurable timing, and respects users who prefer reduced motion.Demo
demo.htmlworks by opening directly in a browser)Browser Testing
Notes for Maintainer
transformandopacityfor efficient rendering.--ease-durationand--ease-timingfor customization.prefers-reduced-motion: reduceoverride.closes #81679