.rotation-infinite {
    animation-name:rotation; -webkit-animation-name:rotation;
    -moz-animation-name:rotation; -o-animation-name:rotation;
    animation-duration:3s; -webkit-animation-duration:3s;
    -moz-animation-duration:3s; -o-animation-duration:3s;
    animation-iteration-count:infinite; -webkit-animation-iteration-count:infinite;
    -moz-animation-iteration-count:infinite; -o-animation-iteration-count:infinite;
    animation-timing-function:linear; -webkit-animation-timing-function:linear;
    -moz-animation-timing-function:linear; -o-animation-timing-function:linear;
}

@keyframes rotation{
    from {transform:rotate(0deg);} to {transform:rotate(360deg);}
}
@-webkit-keyframes rotation{
    from {-webkit-transform:rotate(0deg);} to {-webkit-transform:rotate(360deg);}
}
@-moz-keyframes rotation{
    from {-moz-transform:rotate(0deg);} to {-moz-transform:rotate(360deg);}
}
@-o-keyframes rotation{
    from {-o-transform:rotate(0deg);} to {-o-transform:rotate(360deg);}
}