如何解决盖茨比的网站“使用”部分中的动画?
任何人都可以帮助gatsby在其官方网站https://www.gatsbyjs.com/>的“徽标使用者”滑块部分中使用的动画吗,我试图检查该元素,然后找到了->
此外,我还尝试搜索他们的开源git repo https://github.com/gatsbyjs/gatsby/tree/master/www>及其巨大的成功。
但是似乎手动操作并不太复杂,有人有什么想法可以实现该animation-1qdclt7关键帧吗?
谢谢!
解决方法
如果您查看<ul>
标签:
.css-zpz5mt {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
list-style: none;
margin: 0;
-webkit-animation: animation-1qdclt7 60s linear infinite;
animation: animation-1qdclt7 60s linear infinite;
}
详细的动画(animation-1qdclt7
):
@keyframes animation-1qdclt7{
0% {
-webkit-transform: translateX(0);
-ms-transform: translateX(0);
transform: translateX(0);
}
100% {
-webkit-transform: translateX(-100%);
-ms-transform: translateX(-100%);
transform: translateX(-100%);
}
}
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。