Bootstrap Lightbox
Bootstrap Lightbox 是一个简单的基于 Bootstrap 实现的弹出窗口扩展。
示例代码:
<a data-toggle="lightbox" href="#demoLightbox">Open Lightbox</a> <div id="demoLightbox" class="lightbox fade" tabindex="-1" role="dialog" aria-hidden="true"> <div class='lightbox-dialog'> <div class='lightbox-content'> <img src="image.png"> <div class='lightbox-caption'> Your caption here </div> </div> </div> </div>
评论