/ animation

animation

css 动画

旋转动画

<img src="https://facebook.github.io/react/img/logo.svg" class="App-logo">
.App-logo {
  animation: App-logo-spin infinite 20s linear;
  transform: rotate(360deg);
}

@keyframes App-logo-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}