Hi,
This is a great plugin. However, today I ran into a problem:
I have a page with a simple keyframe animation on it (to turn an image from grey to color on hover). This worked fine before, without dealy. Then I applied an Animate-It effect to an element earlier on the page. Now all keyframe elements lower on the page are delayed in their keyframe-animation (i.e. when hovering, it takes a while before the effect occurs). Apparently Animate-It is interfering with the keyframe animations.
I have tried to find out if there are some classes that Animate_it defines that might be the cause of this, but I haven't been able to find the solution. Would you have an idea how to solve this?
These are the classes I used for the Animate-it:
animated slideInRight duration5
And this is the code for the Keyframe animations
@keyframes portret_cover_grijs {
from {transform: -webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */ ; filter: grayscale(0%);}
to {transform: -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */ ; filter: grayscale(100%);}
}
@keyframes portret_cover_grijs_hover {
from {transform: -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */ ; filter: grayscale(100%) contrast(100%);}
to {transform: -webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */ ; filter: grayscale(0%) contrast(100%);}
}
.portret {
animation-name: portret_cover_grijs;
animation-duration: .3s;
animation-fill-mode: forwards;
}
.portret:hover {
animation-name: portret_cover_grijs_hover;
animation-duration: .3s;
}
Thanks!
Manon