Animation of shaking on call to action button

Hello! Can someone help me with a CSS code to add a shake animation to the buy button?