CSS Animation Not Working In All Browsers
I am having trouble getting any browser apart from Firefox to animate the JSFiddle below.. I think i have added all options for browsers but somethings not right :(( FIREFOX 27:
Solution 1:
Demo
You aren't using the browser specific syntax for the properties.
You do:
@-webkit-keyframes slidein {
from {
transform:translateX(0);
}
to {
transform:translateX(calc(-100% + 250px));
}
}
It should be this, note that I use the -webkit-transform
before transform:
@-webkit-keyframes slidein {
from {
-webkit-transform:translateX(0);
}
to {
-webkit-transform:translateX(calc(-100% + 250px));
}
}
Post a Comment for "CSS Animation Not Working In All Browsers"