.txdoudong {
  animation: txdoudong 0.1s ease-in-out 6; /* 0.1秒内完成抖动，共执行6次 */
  animation-fill-mode: forwards; /* 动画完成后保持最后一个关键帧的样式 */
  display: inline-block;
  position: relative; /* 为了使图片能够定位 */
}
/* 定义动画 */
@keyframes txdoudong {
  0%, 100% {
    transform: rotate(0deg);
  }
  33% {
    transform: rotate(5deg); /* 顺时针旋转10度 */
  }
  66% {
    transform: rotate(-5deg); /* 逆时针旋转10度 */
  }
}