如何在 twitter-bootstrap 中停止图像响应?

问题描述:

我正在使用 twitter bootstrap 来制作响应式布局.它的效果非常棒.

I'm using twitter bootstrap to making responsive layout.It works like awesome.

它使图像过于敏感.我需要一些图像只需要固定宽度和高度.

It makes images too responsive. I need some images only need to be fixed width and height.

<div class="span1"><img src="http://i.ytimg.com/vi/uGBKzIY4mpc/0.jpg" width="50" height="40"></div>

我该怎么做?

终于成功了.

.fixed_width {
  height: 40px;
  width: 50px;
}

<div class="span1"><img src="http://i.ytimg.com/vi/uGBKzIY4mpc/0.jpg" class="fixed_width" ></div>