35
rated 0 times
[
40]
[
5]
/ answers: 1 / hits: 9057
/ 4 Years ago, tue, march 24, 2020, 12:00:00
I'm working with Framer-motion and i'm trying to find a way to delay the the animation of rotateY while the x animates to a specific position then start the rotateY.
Is this possible in Framer motion ?
Example:
const variants = {
flip: {
rotateY: 0,
x: -20,
scale: 1,
transition: {
ease: easeInOut,
duration: 1.2
}
},
hidden: {
rotateY: 180,
x: 150,
scale: 0.5,
transition: {
ease: easeInOut,
duration: 1
}
}
};
More From » framer-motion