图像未调整大小(仅限默认Bootstrap类) [英] Images not resizing (default Bootstrap classes only)

查看:146
本文介绍了图像未调整大小(仅限默认Bootstrap类)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Bootstrap 3.0 dist,现在我正在学习一些Bootstrap教程,试图学习它是如何工作的。我做了一切正如在教程中(它是为v2,所以我改变类为v3),我不使用任何自定义CSS或任何东西,在教程中的图像调整大小时,只是调整窗口大小,但在我的保持一样,残骸一切。

I am using Bootstrap 3.0 dist and I am following some Bootstrap tutorial now, trying to learn how it works. I did everything exactly as in the tutorial (it is for v2, so I changed the classes to v3) and I do not use any custom CSS or anything and in the tutorial the images resize when you simply resize the window, but in mine it stays same and wrecks everything. Also according to the tutorial images should stay centered inside the boxes (the 3 images).

推荐答案

在bootstrap 3图像不再默认情况下响应。

In bootstrap 3 Images are no longer responsive by default. Use .img-responsive for fluid size.

文件: http://getbootstrap.com/getting-started/#migration-dropped

这篇关于图像未调整大小(仅限默认Bootstrap类)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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