> I've been trying a lot to change the CSS keyframe animation values > using pure javascript. I wasn't able to find any solution(s). > > This is what I want to do. > > @-webkit-keyframes play { > 100% { background-position: -480px; } > }
[You also want to use the CSS3 keyword `@keyframes' so that it works with MS Edge 10 – but you certainly know that :-) ] > Lets say above block is from a CSS file. I want to be able to > change the value -480 to another number with just a button click. > This makes the transitions work. > > This can be done using jQuery. But I wanted to do in pure > javascript. Is there any other solution? I don't know. > Can I use jQuery? Yes! Werner _______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel