Possible to add a delay to start animation?
Closed this issue · 2 comments
hrishikesh-k commented
Hello.
Thanks for this amazing library. It does the perfect job for my website. However, I was wondering if we can add a slight delay for a certain animation to start. That would just be a cherry on top.
prjct-samwest commented
Hello.
Thanks for the report and support .
Unfortunately, the delay function is not implemented for the animation itself.
However, it's a bit rough, but you may be able to delay it in the following way.
HTML
<img src="example.jpg" data-cue="fadeIn" data-addClass="delay">
CSS
.delay{
animation-delay: 2s !important;
}
Thank you.
hrishikesh-k commented
Works perfectly, thanks a lot!