jQuery 响应式相册 自适应每行显示个数
XML/HTML Code
- <div class="ma5-gallery">
- <figure class="gallery-item">
- <img src="./images/ptaki/DSC_1390-thumbnail.jpg" alt="">
- <figcaption>Kurka wodna</figcaption>
- </figure>
- <figure class="gallery-item">
- <img src="./images/ptaki/DSC_1002-thumbnail.jpg" alt="">
- <figcaption>Łyska</figcaption>
- </figure>
- <figure class="gallery-item">
- <img src="./images/ptaki/DSC_1103-thumbnail.jpg" alt="">
- <figcaption>Kawka</figcaption>
- </figure>
- <figure class="gallery-item">
- <img src="./images/ptaki/DSC_0663-thumbnail.jpg" alt="">
- <figcaption>Kaczka</figcaption>
- </figure>
- <figure class="gallery-item">
- <img src="./images/ptaki/DSC_1068-thumbnail.jpg" alt="">
- <figcaption>Wrona</figcaption>
- </figure>
- <figure class="gallery-item">
- <img src="./images/ptaki/DSC_0916-thumbnail.jpg" alt="">
- <figcaption>Wróbel</figcaption>
- </figure>
- <figure class="gallery-item">
- <img src="./images/ptaki/DSC_1155-thumbnail.jpg" alt="">
- <figcaption>Dzięcioł</figcaption>
- </figure>
- </div>
原文地址:http://www.freejs.net/article_jquerytupiantexiao_770.html