css遗忘篇:transform:ratate(180deg)失效的解决方法

.empMoreInfoControl {
  position: relative;
  .iconfont {
    position: absolute;
    top:.05rem;
    margin-left:.1rem;
    @extend .animation1;
  }
  &.active {
    .iconfont {
      position: absolute;
      top:.05rem;
      @extend .animation1;
      transform: rotate(180deg);
    }
  }
}

需要设置过度事件

猜你喜欢

转载自blog.csdn.net/webfullstack/article/details/82154448
今日推荐