gpt4 book ai didi

can i make the "animate" wait amount of time and then run?(我可以让“动画”等待一段时间后再运行吗?)

转载 作者:bug小助手 更新时间:2023-10-26 20:05:43 25 4
gpt4 key购买 nike



idk if its possible but

lets say i have a animate or whileInView
and i have delay on the animation like that

IDK,如果可能,但假设我有一个动画,或者当InView和我有动画延迟时


varinats={
initial:{opacity:0},
whileInView:{
opacity:1,
transition:{delay:1}
},
}

i want to make it wait 2s and then run the animation and the animation delay work also

我想让它等待2秒,然后运行动画和动画延迟工作


i tried to add the global transition prop but didnt work

我尝试添加全局过渡道具,但不起作用


varinats={
initial:{opacity:0},
whileInView:{
opacity:1,
transition:{delay:1}
},

//---global transition---
transition:{delay:2}
}

更多回答
优秀答案推荐

There's a typo in variants: varinats.

在变体中有一个打字错误:varinats。


更多回答

can u elaborate more please or put a link for more details

你可以详细说明更多请或把更多的细节链接

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com