twitter-bootstrap 用于 Twitter Bootstrap v2.1.1 的照片库/网格
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/13211399/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Photo Gallery / Grid for Twitter Bootstrap v2.1.1
提问by Patrick
I'm really liking Twitter Bootstrap so far and am finding it fairly easy to implement. The next step is to implement some-type of photo gallery for some pages and for future blog posts. Ideally I would like rows of photos (perhaps 4/row) with nice small borders and pop-up enlarged images either when (a) clicked on or (b) hovered over. I did some research and was unable to find any tutorials or ways how to do this.
到目前为止,我真的很喜欢 Twitter Bootstrap,并且发现它很容易实现。下一步是为某些页面和未来的博客文章实施某种类型的照片库。理想情况下,当 (a) 单击或 (b) 悬停时,我想要几行带有漂亮小边框的照片(可能是 4 张/行)和弹出放大的图像。我做了一些研究,但找不到任何教程或方法来做到这一点。
Many thanks.
非常感谢。
回答by Yohn
check out https://github.com/blueimp/Bootstrap-Image-Galleryit demonstrates a simple image gallery for bootstrap theres also https://github.com/jbutz/bootstrap-lightboxfor a lightbox almost effect.
查看https://github.com/blueimp/Bootstrap-Image-Gallery它演示了一个简单的引导程序图片库还有https://github.com/jbutz/bootstrap-lightbox几乎可以实现灯箱效果。

