码迷,mamicode.com
首页 > 其他好文 > 详细

wow 滚动动画

时间:2019-04-19 19:31:24      阅读:178      评论:0      收藏:0      [点我收藏+]

标签:css   tps   spl   gif   github   tar   lap   show   targe   

1.demo

技术图片
<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="utf-8">
  <title>demo</title>
  <link rel="stylesheet" href="http://cdn.dowebok.com/98/css/animate.min.css">

  <style>
    *{
      margin: 0;
      padding: 0;
    }
    .wrap{
      margin: 50px auto;
      width: 300px;
      height: 200px;
      border:1px solid red;
    }
  </style>

</head>

<body>
  <div class="wrap wow bounceInLeft">hello</div>
  <div class="wrap wow bounceInLeft">hello</div>
  <div class="wrap wow bounceInLeft">hello</div>
  <div class="wrap wow bounceInLeft">hello</div>
  <div class="wrap wow bounceInLeft">hello</div>
  <div class="wrap wow bounceInLeft">hello</div>
  <div class="wrap wow bounceInLeft">hello</div>

  <script src="http://cdn.dowebok.com/131/js/wow.min.js"></script>
  <script>
    if (!(/msie [6|7|8|9]/i.test(navigator.userAgent))) {
      new WOW().init();
    };
  </script>

</body>

</html>
View Code

2. 相关链接

WOW.js – 让页面滚动更有趣

wow 

github

wow 滚动动画

标签:css   tps   spl   gif   github   tar   lap   show   targe   

原文地址:https://www.cnblogs.com/justSmile2/p/10738308.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!