Bootstrap 3: How to create responsive, square .thumbnail divs

爷,独闯天下 提交于 2019-12-03 08:27:55

You could try a CSS only approach like this this..

http://bootply.com/85737

However, this is not cross-browser compatible so you still may want to use the Isotope plugin. Here is a working example that uses Isotope + Bootstrap..

http://bootply.com/61482

I have created a small plugin for bootstrap, called bootstrap-grid-h. You can try using it. It is css only solution. You can find it here: bootstrap-grid-h

For something like this I would recommend using masonry which will give you a pinterest effect where images will fit in a block style without breaks.

such as: http://osvaldas.info/responsive-jquery-masonry-or-pinterest-style-layout

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!