V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
qwertyzzz
V2EX  ›  微信

微信小程序的 CSS3 动画 安卓模拟机上都可以动 就 iPhone 真机上动不了

  •  
  •   qwertyzzz · 2018-09-25 19:57:37 +08:00 · 2336 次点击
    这是一个创建于 2054 天前的主题,其中的信息可能已经有所发展或是发生改变。

    咋回事啊!

    旋转的 css

      -webkit-animation:rotate 20s linear infinite;
      animation:rotate 20s linear infinite;
    
    
    .pause {
        -webkit-animation-play-state: paused!important;
        animation-play-state: paused!important;
    }
    .play {
        -webkit-animation-play-state: running !important;
        animation-play-state: running !important;
    }
    @-webkit-keyframes rotate{
        0% {
            -webkit-transform: rotate(0)
        }
        100% {
            -webkit-transform: rotate(360deg)
        }
    }
    @keyframes rotate{
        0% {
            transform: rotate(0)
        }
        100% {
            transform: rotate(360deg)
        }
    }
    

    有大神帮看看吗 感激不尽~!

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1389 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 17:35 · PVG 01:35 · LAX 10:35 · JFK 13:35
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.