📜  3d 旋转文本 css 代码示例

📅  最后修改于: 2022-03-11 14:47:58.627000             🧑  作者: Mango

代码示例1
#spinner {
  animation-name: spinner;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 3s;
  transform-style: preserve-3d;
  text-align:center;
}
@keyframes spinner {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(-360deg);
  }
}