1<img class="image" src="http://i.stack.imgur.com/pC1Tv.jpg" alt="" width="120" height="120">
2
3.image {
4 position: absolute;
5 top: 50%;
6 left: 50%;
7 width: 120px;
8 height: 120px;
9 margin:-60px 0 0 -60px;
10 -webkit-animation:spin 4s linear infinite;
11 -moz-animation:spin 4s linear infinite;
12 animation:spin 4s linear infinite;
13}
14@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
15@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
16@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }
1<img class="image" src="https://1.bp.blogspot.com/-Z-MqZ0dELFY/YMWoc27YvUI/AAAAAAAAVmQ/3VlCywSxtJQsT8V-L5cGXQZA-GvOro53gCLcBGAsYHQ/s666/Nighty_1-removebg-preview.png" alt="" width="120" height="120">
2
3.image {
4 position: absolute;
5 top: 50%;
6 left: 50%;
7 width: 120px;
8 height: 120px;
9 margin:-60px 0 0 -60px;
10 -webkit-animation:spin 4s linear infinite;
11 -moz-animation:spin 4s linear infinite;
12 animation:spin 4s linear infinite;
13}
14@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
15@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
16@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }