@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端和苹果是没问题的 求助是什么原因

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐