Flip Effect Using Jquery and CSS

Guys in this post I will be discussing a way to create coin flip animation using JQuery and CSS only.
The method which I will be showcasing in a while can also be implemented without JQuery but that would increase your amount of code and complexity considerably. The main trick is to rotate the html element (an image in my case) degree by degree for multiples of 360 so that you can have your original state back.

Here is My Code :-