CSS Translate/Animation conflict on Safari refresh

前提是你 提交于 2019-12-24 01:15:32

问题


I'm trying to run an animation on an infinite loop, starting when the page loads. Everything works fine until you hit refresh while viewing on Safari on both Mobile and Desktop.

The first time the page loads everything works just fine, it's on refresh when the translate property fails. If I remove the animation, CSS Translate works fine.

The animation goes like this (and I did try using the -webkit- prefix but it won't work).

@keyframes circulo_claro { 
    50% {transform: translate(-43%,45%) rotate(8deg);},
    100% {transform: translate(-43%,45%) rotate(0deg);} 
}

@keyframes circulo_naranja { 
    to {transform: translate(-43%,45%) rotate(0deg);} 
}

This is my full code: https://jsfiddle.net/r8wcLLfb/3/

来源:https://stackoverflow.com/questions/37884232/css-translate-animation-conflict-on-safari-refresh

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!