Через стили не подходит, т.к. могут быть разные weight.
$('html, body').stop().animate({ scrollTop: destination }, 500);
div {
position: absolute;
margin: 120px;
width: 120px;
height: 120px;
-webkit-animation: infinite rotate-block 2s;
-moz-animation: infinite rotate-block 2s;
-o-animation: infinite rotate-block 2s;
animation: infinite rotate-block 2s;
border-left:10px solid #f15466;
border-radius: 50%
}
@-webkit-keyframes rotate-block {
0% {-webkit-transform: rotate(0deg);}
100% {-webkit-transform: rotate(360deg);}
}
@-moz-keyframes rotate-block {
0% {-moz-transform: rotate(0deg);}
100% {-moz-transform: rotate(360deg);}
}
@-o-keyframes rotate-block {
0% {-o-transform: rotate(0deg);}
100% {-o-transform: rotate(360deg);}
}
@keyframes rotate-block {
0% {transform: rotate(0deg);}
100% {transform: rotate(360deg);}
}