我正在使用引导程序 2.3.2
我添加了一个带有灯箱插件的缩略图。但是,缩略图从框架中溢出,看起来很奇怪。 当我删除类“缩略图”时看起来还不错。但此时,灯箱不起作用。
我的代码是
<ul class="thumbnails" data-toggle="lightbox">
<li class="span3">
<a href="http://lorempixel.com/500/500/transport/1/"
title="Image #1" data-description="Lorem ipsum dolor"
class="thumbnail">
<img src="http://lorempixel.com/250/250/transport/1/" alt="">
</a>
</li>
<li class="span3">
<a href="http://lorempixel.com/500/500/transport/2/"
title="Image #1" data-description="Lorem ipsum dolor"
class="thumbnail">
<img src="http://lorempixel.com/250/250/transport/2/" alt="">
</a>
</li>
<li class="span3">
<a href="http://lorempixel.com/500/500/transport/3/"
title="Image #1" data-description="Lorem ipsum dolor"
class="thumbnail">
<img src="http://lorempixel.com/250/250/transport/3/" alt="">
</a>
</li>
<li class="span3">
<a href="http://lorempixel.com/500/500/transport/4/"
title="Image #1" data-description="Lorem ipsum dolor"
class="thumbnail">
<img src="http://lorempixel.com/250/250/transport/4/" alt="">
</a>
</li>
<li class="span3">
<a href="http://lorempixel.com/500/500/transport/1/"
title="Image #1" data-description="Lorem ipsum dolor"
class="thumbnail">
<img src="http://lorempixel.com/250/250/transport/1/" alt="">
</a>
</li>
<li class="span3">
<a href="http://lorempixel.com/500/500/transport/2/"
title="Image #1" data-description="Lorem ipsum dolor"
class="thumbnail">
<img src="http://lorempixel.com/250/250/transport/2/" alt="">
</a>
</li>
<li class="span3">
<a href="http://lorempixel.com/500/500/transport/3/"
title="Image #1" data-description="Lorem ipsum dolor"
class="thumbnail">
<img src="http://lorempixel.com/250/250/transport/3/" alt="">
</a>
</li>
<li class="span3">
<a href="http://lorempixel.com/500/500/transport/4/"
title="Image #1" data-description="Lorem ipsum dolor"
class="thumbnail">
<img src="http://lorempixel.com/250/250/transport/4/" alt="">
</a>
</li>
<li class="span3">
<a href="http://lorempixel.com/500/500/transport/1/"
title="Image #1" data-description="Lorem ipsum dolor"
class="thumbnail">
<img src="http://lorempixel.com/250/250/transport/1/" alt="">
</a>
</li>
<li class="span3">
<a href="http://lorempixel.com/500/500/transport/2/"
title="Image #1" data-description="Lorem ipsum dolor"
class="thumbnail">
<img src="http://lorempixel.com/250/250/transport/2/" alt="">
</a>
</li>
<li class="span3">
<a href="http://lorempixel.com/500/500/transport/3/"
title="Image #1" data-description="Lorem ipsum dolor"
class="thumbnail">
<img src="http://lorempixel.com/250/250/transport/3/" alt="">
</a>
</li>
<li class="span3">
<a href="http://lorempixel.com/500/500/transport/4/"
title="Image #1" data-description="Lorem ipsum dolor"
class="thumbnail">
<img src="http://lorempixel.com/250/250/transport/4/" alt="">
</a>
</li>
</ul>