Commit 628e46d4 by 杨翰文

fix: 首页按钮增加动画

parent eb173417
...@@ -57,7 +57,22 @@ ...@@ -57,7 +57,22 @@
width: 2.49rem; width: 2.49rem;
bottom: 0.31rem; bottom: 0.31rem;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translate(-50%, 0);
animation: btn 2s ease infinite;
}
@keyframes btn {
0% {
transform: translate(-50%, 0) scale(1);
}
50% {
transform: translate(-50%, 0px) scale(0.95);
opacity: 0.8;
}
100% {
transform: translate(-50%, 0px) scale(1);
}
} }
</style> </style>
<script src="./libs/jweixin-1.6.0.js"></script> <script src="./libs/jweixin-1.6.0.js"></script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment