Two elements have the same animation but different transform origin, yet they behave in a similar manner.
.face1 {
animation: eat .5s ease-in-out infinite alternate both;
-webkit-animation: eat .5s ease-in-out infinite alternate both;
}
.face2 {
animation: eat .5s 0s ease-in-out infinite alternate both;
-webkit-animation: eat .5s ease-in-out infinite alternate both;
-webkit-transform-origin: bottom right !important;
transform-origin: bottom right !important
}
You can view a demo of this issue here
Even though the second head has a different transform origin in the CSS for .face2, it behaves like the first head.
Is there a way to resolve this issue?
Can I prevent writing two separate animations?