I have two elements with same animation but different transform orgin but they act in the same way.
.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
}
This is a fiddle
As you can see the second head act like the 1st ignoring the transform-origin on the .face2 css
How can I fix this?
Can I avoid to write 2 separated animation?