【问题标题】:Responsive image gallery and empty spaces with masonry响应式图像库和带砖石的空白空间
【发布时间】:2013-06-28 14:33:21
【问题描述】:

我正在尝试使用 masonry jquery 插件制作一个响应式图片库。 我阅读了很多文章,包括在这个论坛中,但它不起作用。图库中出现许多空白。

我正在尝试使用 Jquery Masonry 以及一个简单的 css 和 html

.flow { width: 95%; height: auto; min-height: 500px; margin: 0 auto} .item { margin-bottom: 10px; }

`

<div class="item">
    <img src="http://www.smartynet.com.br/flampic/img/1small.jpg" />
</div>

<div class="item">
    <img src="http://www.smartynet.com.br/flampic/img/2small.jpg" />
</div>
    </div>

我创建了这个JSFiddle

我正在尝试建立一个像 flickr 这样的画廊。还有其他最好的方法吗? 请问有人可以帮助我吗?

【问题讨论】:

    标签: javascript jquery html css jquery-masonry


    【解决方案1】:

    你能试试 Flex Slider 的响应式图片库吗 http://flexslider.woothemes.com/ 或试试 http://lokeshdhakar.com/projects/lightbox2/ 或者 http://fancybox.net/

    【讨论】:

    • 这不是我想要的... :(
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-03-19
    • 2013-09-03
    • 2022-01-14
    • 2015-09-27
    • 2015-12-17
    • 1970-01-01
    相关资源
    最近更新 更多