I attempted to add an animation to a specific group inside an SVG element. Unfortunately, I noticed that the animation is either not being applied or it is getting overridden, as indicated by the strike through in Chrome Developer Tools. The cause of this issue remains unknown to me at this time.
Snippet of the animation code:
.ghost {
animation: float 3s ease infinite;
}
@keyframes float {
50% {
transform: translate(100px, 100px);
}
}
I would share the HTML but it's quite lengthy due to numerous SVG paths. Instead, you can find the Codepen link here: ghost
Thank you in advance for any assistance! I'm currently unsure about the cause of this issue.