There are a lot of books to be found on the subject if you Google the phrase "design thinking book".
Animating elements, at its most basic, is fairly straightforward. Define the keyframes. Name the animation. Call it on an element.
The era of design systems is booming, and with good reason.
Find out how to use Figma and Zeroheight to create your own design system making sure that both design & development are the single source of truth.