How to transfer an animation from After Affect to the site?

Salut guys!

Faced with the problem when he executed the order for the customer.
Making animation for buttons in the After Affect, I asked the coder to put it on the website, and he does not know how to do it. Says need the js file. In the After Affect in this won't. Tried it in json format to store using bodymovin, but the designer says it is impossible to put on the website. Share someone experience please. How to move from After the Affect on website animation? In what format to preserve the animation on the website?
June 26th 19 at 14:02
3 answers
June 26th 19 at 14:04 how this is done. Read recommendations, view what you have not, as in the examples. If so, then post a JSON, it may be the case in the coder)
June 26th 19 at 14:06
Any way, can time-lapse to save each state of a button of course, and so this is not a web approach, except for prototyping.
June 26th 19 at 14:08
The General idea of what you coder need to do is well described here in this article. Yes, if the designer drew all these fine pens to do CSS animations is not so difficult. Although (from personal experience) is faster and safer to do the animation by frame-by-frame scheme, drawn with a pen on paper than to render from AE (the customer may begin to find fault, saying "that button as something else jumps").

Find more questions by tags CSSHTMLJavaScript