1<!doctype html>
2<html>
3  <head>
4    <style type="text/css">
5    @-webkit-keyframes rotating {
6      from{
7        -webkit-transform: rotate(0deg);
8      }
9      to{
10        -webkit-transform: rotate(360deg);
11      }
12    }
13    .rotating {
14      -webkit-animation: rotating 2s linear infinite;
15    }
16    </style>
17  </head>
18  <body>
19    <img src="image.png" class="rotating">
20  </body>
21</html>
22