SOURCE

console 命令行工具 X clear

                    
>
console
$(function() {
  divZoomIn();
});
function divZoomIn() {
  for (var i = 0; i < 50; i++) { (function(i) {
      setTimeout(function() {
        $('.p1').append("<div style='background-color:" + randomColor() + "' class='anim zoomInRight'></div>");
      },
      90 * i);
    })(i);
  }
}

function randomColor() {
  return "#" + (~~ (Math.random() * (1 << 24))).toString(16);
}

// 其他animate特效: zoomInRight bounce swing bounceInDown bounceInRight bounceInUp fadeInRight
// fadeInRightBig fadeInUpBig flipInX
<p class="p1">
</p>
<a href="http://www.jq22.com/yanshi819">
  animate.css
</a>
.anim {
  display: inline-block;
  width: 50px;
  height: 50px;
  margin-left: 10px;
  -webkit-animation-duration: 0.8s;
  animation-duration: 0.8s;
}

本项目引用的自定义外部资源