Example 3:
Horizontal animation with custom parameters.
Conntect any DOM element like Images...

domLastic.init({
  itemsClassnameToConnect: 'item',
  itemsJointStrength: 10, //value optimum between 10 - 100
  animationSpeed: 500, //value optimum 300 - 1000
  animationIntensity: 0.6, //value optimum optimum 0.5 - 1
  animationDirection: 'horizontal'
});
//on click after element was removed...
domLastic.animateItems();

单击以删除项目

FloralWhite
Khaki
SandyBrown
Gainsboro
MediumSeaGreen
下载代码说明
X关闭

点击弹性删除项目插件domLastic.js

点击弹性删除项目插件domLastic.js,通过管理一组DOM元素,制作酷炫的弹性动画特效。