<a id="update" href="#"><i class="icon-refresh"></i></a>
.icon-refresh-animate { animation-name: rotateThis; animation-duration: .5s; animation-iteration-count: infinite; animation-timing-function: linear; } @keyframes rotateThis { from { transform: scale( 1 ) rotate( 0deg ); } to { transform: scale( 1 ) rotate( 360deg ); } }