I am facing an issue with a css3 slider animation not working on Android version 2.3. Can someone help me find a solution for this problem?
It seems that the support for animations in versions 2.3 and 3.0 is limited, as shown on Caniuse web http://caniuse.com/css-animation
Here are some code snippets:
.slider ul {
width: 1000%;
height: auto;
position: relative;
list-style: none;
left: 0;
margin: 0;
padding: 0;
line-height: 0;
-moz-animation:slide-animation 15s infinite;
-webkit-animation:slide-animation 15s infinite;
}
.slider ul:hover {
-moz-animation-play-state:paused;
-webkit-animation-play-state:paused;
}
@-webkit-keyframes slide-animation {
1% {left: 0%; opacity: 1;}
18% {left: 0%; opacity: 1}
19% {opacity: 0.2;}
20% {left: -100%; opacity: 1;}
58% {left: -100%; opacity: 1;}
59% {opacity: 0.2;}
60% {left: -200%; opacity: 1;}
98% {left: -200%; opacity: 1;}
99% {opacity: 0.5;}
100% {left: 0%;}
}