纯css lightbox 鼠标经过显示隐藏层 点击放大图片带标题
XML/HTML Code
- <section>
- <ul class="lb-album">
- <li>
- <a href="#image-1">
- <img src="../dandong.png" alt="image01" width="150" height="150">
- <span>aihym.com</span>
- </a>
- <div class="lb-overlay" id="image-1">
- <a href="#page" class="lb-close">x Close</a>
- <img src="../dandong.png" alt="image01" />
- <div>
- <h3>http://www.aihym.com</h3>
- <p>爱薅羊毛</p>
- </div>
- </div>
- </li>
- <li>
- <a href="#image-3">
- <img src="../dalian.jpg" alt="image03" width="150" height="150">
- <span>爱薅羊毛</span>
- </a>
- <div class="lb-overlay" id="image-3">
- <img src="../dalian.jpg" alt="image03" />
- <div>
- <h3>爱薅羊毛</h3>
- <p>http://www.aihym.com</p>
- </div>
- <a href="#page" class="lb-close">x Close</a>
- </div>
- </li>
- </ul>
- </section>
原文地址:http://www.freejs.net/article_jquerytupiantexiao_460.html