图片/图形

Blueprint 风格网格布局CSS画廊

阿里云


Blueprint 是一款仿 Chromebook Getting Started guide 页面效果的 Google 风格的网格布局 css 画廊。网格布局采用 masonry 制作,css 画廊的运动效果则由 CSS 3D Transforms 完成。

HTML 代码

  1. <div id="grid-gallery" class="grid-gallery">
  2.     <section class="grid-wrap">
  3.         <ul class="grid">
  4.             <li class="grid-sizer"></li><!-- for Masonry column width -->
  5.             <li>
  6.                 <figure>
  7.                     <img src="img/thumb/1.png" alt="img01"/>
  8.                     <figcaption><h3>Letterpress asymmetrical</h3><p>Chillwave hoodie ea gentrify aute sriracha consequat.</p></figcaption>
  9.                 </figure>
  10.             </li>
  11.             ......
  12.         </ul>
  13.     </section><!-- // grid-wrap -->
  14.     <section class="slideshow">
  15.         <ul>
  16.             <li>
  17.                 <figure>
  18.                     <figcaption>
  19.                         <h3>Letterpress asymmetrical</h3>
  20.                         <p>Kale chips lomo biodiesel stumptown Godard Tumblr, mustache sriracha tattooed cray aute slow-carb placeat delectus. Letterpress asymmetrical fanny pack art party est pour-over skateboard anim quis, ullamco craft beer.</p>
  21.                     </figcaption>
  22.                     <img src="img/large/1.png" alt="img01"/>
  23.                 </figure>
  24.             </li>
  25.             ......
  26.         </ul>
  27.         <nav>
  28.             <span class="icon nav-prev"></span>
  29.             <span class="icon nav-next"></span>
  30.             <span class="icon nav-close"></span>
  31.         </nav>
  32.         <div class="info-keys icon">Navigate with arrow keys</div>
  33.     </section><!-- // slideshow -->
  34. </div><!-- // grid-gallery -->
也想出现在这里?联系我们
创客主机

javascript 代码

  1. <script src="js/imagesloaded.pkgd.min.js"></script>
  2. <script src="js/masonry.pkgd.min.js"></script>
  3. <script src="js/classie.js"></script>
  4. <script src="js/cbpGridGallery.js"></script>
  5. <script>
  6.     new CBPGridGallery( document.getElementById( 'grid-gallery' ) );
  7. </script>

Blueprint 风格网格布局 CSS 画廊

已有 409 人购买
查看演示升级 VIP立刻购买

演示地址 下载地址
收藏
(0)

发表回复

热销模板

Ashade - 作品展示摄影相册WordPress汉化主题
LensNews

本站承接 WordPress / PbootCMS / DedeCMS 等
系统建站、仿站、开发、定制等业务!