Simply add the spin class to the image, and change the value of the text highlighted in red to increase or decrease the rate of spin.
.spin { animation: roll 8s infinite; transform: rotate(30deg); } @keyframes roll { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } }