@-webkit-keyframes headerFade
0%
opacity: 0
50%
opacity: 1
99%
opacity: 0
@keyframes headerFade
0%
opacity: 0
50%
opacity: 1
99%
opacity: 0
.header
width: 100px
height: 100px
background: #ccc
position: relative
.header.ani:before
content: ' '
width: 100%
height: 100%
position: absolute
top: 0
left: 0
background-color: #000000
-webkit-transform: translate3d(0,0,0)
-webkit-backface-visibility: hidden
-webkit-animation: headerFade 1s linear infinite
-webkit-animation-fill-mode: forwards
animation: headerFade 1s linear infinite
Although it functions perfectly in Chrome, there seems to be a lack of animation (only showing 0 and 1) when using the cordova android app version below 4.4. I've encountered a similar issue with the transform property for background-image which only works on 4.4+ devices. According to Can I Use, these features are supported by Android browsers above 4.0. Could there be something I'm missing?