leohxj
9/1/2013 - 1:01 PM

文档加载完毕再执行transition

文档加载完毕再执行transition

<body class="preload">
.preload * {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -ms-transition: none !important;
  -o-transition: none !important;
}
$("window").load(function() {
  $("body").removeClass("preload");
});