Flip clock mockup animation jquery css -
this fiddle: http://jsfiddle.net/trickitty/sw4k090f/1/.
current.addclass("before") .removeclass("active") .prev("li") .addclass("active") .one('webkitanimationend oanimationend msanimationend animationend', function (e) { $(this).removeclass('before'); });
a new number coming backend , have change counter flip. there 2 flip ul-s, 1 every digit of number. in every ul there 2 li-s, 1 old digit , 1 new one. new 1 loaded in li, won't see @ first. idea flip animation back/new li become visible doing adding/removing before class, changes z-index. can't figure out how right, though. maybe missing fundamental here..
the original code @ codepen written ademilter, can't use more 2 links @ point.
i copied here:http://jsfiddle.net/trickitty/a4mch0x2/ , flip doesn't work, don't know why.
my question how wrong code , why fiddle not work original copied code?
Comments
Post a Comment