JqZoom和Twitter Bootstrap冲突 [英] JqZoom and Twitter Bootstrap Conflict

查看:263
本文介绍了JqZoom和Twitter Bootstrap冲突的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下是 jsfiddle

使用内部缩放(虽然它不适用于任何缩放类型),它应该工作像这样: http://www.mind-projects.it/projects/jqzoom/demos.php#demo4

Using inner zoom (though it doesn't work with any of the zoom types), it should work like so: http://www.mind-projects.it/projects/jqzoom/demos.php#demo4

任何想法?似乎是一个问题与Bootstrap的响应性。删除Bootstrap的 max-width:100%在img标签上的CSS声明改进了一点,但它仍然是破碎的。

Any ideas? Seems to be an issue with the responsive nature of Bootstrap. Removing Bootstrap's max-width:100% CSS declaration on the img tag improves it a bit, but it remains broken.

推荐答案

您需要覆盖max-width。

You need to override the max-width.

.zoomWindow img {max-width:none}

这篇关于JqZoom和Twitter Bootstrap冲突的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆