欢迎投稿

菜鸟之家

当前位置:菜鸟之家 > jquery库 > 视觉差滚动效果 > js带视觉差的页面平滑滚动特效

js带视觉差的页面平滑滚动特效

js带视觉差的页面平滑滚动特效

关键词:视觉差,滚动视觉差,js视觉差滚动,js视觉差特效,js视觉差插件,js视觉差布局,js滚动视觉差,jquery库,shijuecha

描述:这是js带视觉差的页面平滑滚动特效。该特效中,在页面向下滚动的时候,页面中的图片相对于视口带有一些视觉差特效。

简要教程

这是js带视觉差的页面平滑滚动特效。该特效中,在页面向下滚动的时候,页面中的图片相对于视口带有一些视觉差特效。

使用方法

在页面中引入下面的文件。

<link rel="stylesheet" type="text/css" href="css/base.css" />
<script src="js/imagesloaded.pkgd.min.js"></script>
<script src="js/demo.js"></script>                  
                
HTML结构
<main>
  <div data-scroll>
    <div class="frame">
      <div class="frame__title-wrap">
        <h1 class="frame__title">Smooth scrolling and inner image animation</h1>
      </div>
    </div>
    <div class="content">
      <div class="item">
        <div class="item__img-wrap"><div class="item__img item__img--t1"></div></div>
        <div class="item__caption">
          <h2 class="item__caption-title">Central view</h2>
          <p class="item__caption-copy">Great turbulent clouds emerged into consciousness citizens.</p>
        </div>
      </div>
      <div class="item">
        <div class="item__img-wrap"><div class="item__img item__img--t2"></div></div>
        <div class="item__caption">
          <h2 class="item__caption-title">Lost in time</h2>
          <p class="item__caption-copy">Brain is the seed of intelligence the sky calls to us a very small stage.</p>
        </div>
      </div>
      <div class="item">
        <div class="item__img-wrap"><div class="item__img item__img--t3"></div></div>
        <div class="item__caption">
          <h2 class="item__caption-title">Ready to land</h2>
          <p class="item__caption-copy">Cosmos encyclopaedia galactica a billion trillion culture cosmic ocean.</p>
        </div>
      </div>
      <div class="item">
        <div class="item__img-wrap"><div class="item__img item__img--t1"></div></div>
        <div class="item__caption">
          <h2 class="item__caption-title">All equal</h2>
          <p class="item__caption-copy">Network of wormholes dream of the mind"s eye finite but unbounded concept.</p>
        </div>
      </div>
      <div class="item">
        <div class="item__img-wrap"><div class="item__img item__img--t2"></div></div>
        <div class="item__caption">
          <h2 class="item__caption-title">Connections</h2>
          <p class="item__caption-copy">Two ghostly white figures in coveralls and helmets are softly dancing vastness.</p>
        </div>
      </div>
      <div class="item">
        <div class="item__img-wrap"><div class="item__img item__img--t3"></div></div>
        <div class="item__caption">
          <h2 class="item__caption-title">The state of divergence</h2>
          <p class="item__caption-copy">Vastness is bearable only through love invent the universe vanquish.</p>
        </div>
      </div>
      <div class="item">
        <div class="item__img-wrap"><div class="item__img item__img--t1"></div></div>
        <div class="item__caption">
          <h2 class="item__caption-title">Open perspective</h2>
          <p class="item__caption-copy">The only home we"ve ever known concept of the number one.</p>
        </div>
      </div>
      <div class="item">
        <div class="item__img-wrap"><div class="item__img item__img--t3"></div></div>
        <div class="item__caption">
          <h2 class="item__caption-title">Discovery of shapes</h2>
          <p class="item__caption-copy">Decipherment explorations tesseract as a patch of light.</p>
        </div>
      </div>
      <div class="item">
        <div class="item__img-wrap"><div class="item__img item__img--t2"></div></div>
        <div class="item__caption">
          <h2 class="item__caption-title">The Observer</h2>
          <p class="item__caption-copy">Astonishment muse about dispassionate extraterrestrial observer.</p>
        </div>
      </div>
    </div>
  </div>
</main>
                

说明:菜鸟之家所有素材均是用户自行上传分享并拥有版权或使用权,仅供网友学习交流,未经上传用户书面授权,请勿作他用。若您的权利被侵害,请联系QQ:11809283或发送邮件至11809283@qq.com。

菜鸟之家承诺:本站所有资源,无需注册,免费下载,无病毒,无弹窗,无干扰链接!

转载请注明出处!本文地址:http://www.jeeok.com/jquery_shijuecha/9719.html

 在线演示  免费下载
编号:201907280000009719
大小:1.27MB
上传时间:2019-07-29 06:54
素材由用户"yhy6625"上传分享。

标签

最新推荐素材

与js带视觉差的页面平滑滚动特效相关的素材

.