Animate Plus是一个高性能的 JavaScript 库,能够帮助你构建动画效果的CSS 属性和 SVG 属性Animate Plus 是非常适合快速 UI 交互的,同时也适合台式和移动设备上更长的动画序列。示例:
npm install animateplusor download and insertanimate.min.js(2.7KB gzipped) :
<script src=animate.min.js></script>
Start animating things:
立即学习“前端免费学习笔记(深入)”;
animate({ el: "div", translateX: 100, opacity: .5, duration: 500 });animateaccepts either anObjector aMapcontaining at least an element and a property to animate:
animate({ el: "div", opacity: 0 }); // Or: var params = new Map();params.set("el", "div");params.set("opacity", 0);animate(params);The elements to animate.elcan either take a:
项目主页:http://www.open-open.com/lib/view/home/1434012030223
HTML怎么学习?HTML怎么入门?HTML在哪学?HTML怎么学才快?不用担心,这里为大家提供了HTML速学教程(入门课程),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号