SOURCE

console 命令行工具 X clear

                    
>
console
$(function() {

})

function show(msg) {
  if ($("#toast").length < 1) {
    $("body").append("<div id='toast' class='toast bounceInDown'></div>");
  }
}
// 其他animate特效: zoomInRight bounce swing bounceInDown bounceInRight bounceInUp fadeInRight
// fadeInRightBig fadeInUpBig flipInX
<button type="button" onclick="show()">qwe
</button>
.toast{
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color:gray;
}

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