dojo with xstyle issue with css keyframes

你离开我真会死。 提交于 2019-12-12 18:25:27

问题


I am using xstyle in a dojo project, when trying to add some animation to a div using CSS 3 like:

@keyframes loadingSpinner {
    from { transform: rotate(0deg)   }
    to   { transform: rotate(360deg) }
}

xstyle output (after using using xstyle doj build plugin):

@keyframes loadingSpinner from {
    transform:rotate(0deg);
}

@keyframes loadingSpinner to {
    transform:rotate(360deg);
}

which does not make the animation works:

I would like to know:

  • How to fix this problem (maybe I should rewrite the css suing xstyle transition)?

  • Can I ignore this code during build process?

  • Any work around?

Related: https://github.com/kriszyp/xstyle/issues/51

来源:https://stackoverflow.com/questions/35411580/dojo-with-xstyle-issue-with-css-keyframes

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