CSS3相册上下无缝滚动展示特效代码下载


CSS3相册上下无缝滚动展示特效代码下载
CSS3相册上下无缝滚动展示特效代码下载以及相册上下、无缝滚动展示等js/jquery网页特效代码下载。

1. 引入CSS

<link href="https://fonts.googleapis.com/css?family=Fira+Sans:800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">

2. HTML代码

<div class="gallery">
  <div class="gallery__strip__wrapper">
    <div class="gallery__strip one">
      <div class="photo">
        <div class="photo__image"><img src="img/gg-kyoto.jpg"></div>
        <div class="photo__name">Kyoto</div>
      </div>
      <div class="photo">
        <div class="photo__image"><img src="img/gg-austria.jpg"></div>
        <div class="photo__name">Halstatt</div>
      </div>
      <div class="photo">
        <div class="photo__image"><img src="img/gg-peru.jpg"></div>
        <div class="photo__name">Peru</div>
      </div>
      <div class="photo">
        <div class="photo__image"><img src="img/gg-rio.jpg"></div>
        <div class="photo__name">Rio</div>
      </div>
    </div>
  </div>
  <div class="gallery__strip__wrapper">
    <div class="gallery__strip two">
      <div class="photo">
        <div class="photo__image"><img src="img/gg-italy.jpg"></div>
        <div class="photo__name">Italy</div>
      </div>
      <div class="photo">
        <div class="photo__image"><img src="img/gg-osaka.jpg"></div>
        <div class="photo__name">Osaka</div>
      </div>
      <div class="photo">
        <div class="photo__image"><img src="img/gg-bali.jpg"></div>
        <div class="photo__name">Bali</div>
      </div>
      <div class="photo">
        <div class="photo__image"><img src="img/gg-paris2.jpg"></div>
        <div class="photo__name">Paris</div>
      </div>
    </div>
  </div>
  <div class="gallery__strip__wrapper">
    <div class="gallery__strip three">
      <div class="photo">
        <div class="photo__image"><img src="img/gg-cusco.jpg"></div>
        <div class="photo__name">Cusco</div>
      </div>
      <div class="photo">
        <div class="photo__image"><img src="img/gg-rome.jpg"></div>
        <div class="photo__name">Rome</div>
      </div>
      <div class="photo">
        <div class="photo__image"><img src="img/gg-paris.jpg"></div>
        <div class="photo__name">Paris</div>
      </div>
      <div class="photo">
        <div class="photo__image"><img src="img/gg-bali2.jpg"></div>
        <div class="photo__name">Bali</div>
      </div>
    </div>
  </div>
  <div class="gallery__strip__wrapper">
    <div class="gallery__strip four">
      <div class="photo">
        <div class="photo__image"><img src="img/gg-milan.jpg"></div>
        <div class="photo__name">Milan</div>
      </div>
      <div class="photo">
        <div class="photo__image"><img src="img/gg-budapest.jpg"></div>
        <div class="photo__name">Budapest</div>
      </div>
      <div class="photo">
        <div class="photo__image"><img src="img/gg-vienna.jpg"></div>
        <div class="photo__name">Vienna</div>
      </div>
      <div class="photo">
        <div class="photo__image"><img src="img/gg-mexico.jpg"></div>
        <div class="photo__name">Mexico</div>
      </div>
    </div>
  </div>
</div>
<div style="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';color:#ffffff">
</div>

相关推荐

发表评论

相关文章