Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Key Changes for Shaking Animation: Shaking Effect: The whileHover property now uses x: ["0%", "-10%", "10%", "0%"] to simulate the shake. This moves the card left (-10%), right (10%), and then back to its original position (0%). The transition property applies a spring-based animation with stiffness and damping to control the speed and smoothness of the shake. Smooth Transition: A spring-based transition is used (type: "spring", stiffness: 100, damping: 10) to give the shake a bouncy feel, making it more natural and appealing.
- Loading branch information