高性能 JavaScript 库 Animate Plus
- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/bendc/animateplus
软件介绍
Animate Plus 是一个高性能 JavaScript 库,它能帮助你建立动态 CSS 属性和 SVG 属性。Animate Plus 是非常适合快速 UI 交互的,同时也适合台式和移动设备上更长的动画序列。
示例代码:
<!doctype html>
<title>Example</title><style>
div {
display: none;
width: 100px;
height: 100px;
background: black; }
</style>
<div></div>
<div></div>
<script src=animate.min.js></script><script>
animate({
el: "div",
scaleX: 2,
begin: show });
function show(elements) {
elements.forEach(function(el)
{ el.style.display = "block"; });
}</script>
