作者:in冷霜天 | 来源:互联网 | 2023-08-20 20:53
1234567891011121314151617181920212223242526272829303132333435363738@keyframes down { 0% {
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
| @keyframes down {
0% {
height: 75px
}
100% {
height: 225px
}
}
.moveDown {
-webkit-animation-name: down;
-webkit-animation-duration: .5s;
-webkit-animation-iteration-count: 1;
-webkit-animation-timing-function: ease-in-out;
-webkit-animation-delay: 0;
-webkit-animation-direction: alternate;
-webkit-animation-fill-mode: forwards;
-moz-animation-name: down;
-moz-animation-duration: .5s;
-moz-animation-iteration-count: 1;
-moz-animation-timing-function: ease-in-out;
-moz-animation-delay: 0;
-moz-animation-direction: alternate;
-moz-animation-fill-mode: forwards;
-ms-animation-name: down;
-ms-animation-duration: .5s;
-ms-animation-iteration-count: 1;
-ms-animation-timing-function: ease-in-out;
-ms-animation-delay: 0;
-ms-animation-direction: alternate;
-ms-animation-fill-mode: forwards;
animation-name: down;
animation-duration: .5s;
animation-iteration-count: 1;
animation-timing-function: ease-in-out;
animation-delay: 0;
animation-direction: alternate;
animation-fill-mode: forwards
} |
就是一个简单的点击按钮改变高度的动画 写了兼容 但是用一个安卓手机就没作用 pc端和苹果是没问题的 求助是什么原因