Does anyone know how to append a keyframe rule With JavaScript ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Does anyone know how to append a keyframe rule With JavaScript ?

19th Nov 2018, 9:31 PM
Lucy
Lucy - avatar
2 Answers
+ 1
thank you
19th Nov 2018, 10:49 PM
Lucy
Lucy - avatar
0
Maybe this will help: https://css-tricks.com/controlling-css-animations-transitions-javascript/ Toward the middle where it says "keyframes.insertRule(blah blah blah)" etc.
19th Nov 2018, 10:44 PM
Janningā­
Janningā­ - avatar