twitter-bootstrap Bootstrap 3.0.0 - 什么是 bootstrap-responsive.css 的替代品?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/18479389/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-21 18:06:10  来源:igfitidea点击:

Bootstrap 3.0.0 - what is replacement of bootstrap-responsive.css?

twitter-bootstraptwitter-bootstrap-3

提问by Hemant

After I upgraded my application to bootstrap 3.0.0 from bootstrap 2.3.2 it doesn't layout very well, and it seems to be because of missing bootstrap-responsive.css in this latest release. Does anyone knows the workaround here? There doesn't seems to be anything in the bootstrap doc (at least I couldn't locate it)

在我将我的应用程序从 bootstrap 2.3.2 升级到 bootstrap 3.0.0 之后,它的布局不是很好,这似乎是因为在这个最新版本中缺少 bootstrap-responsive.css。有谁知道这里的解决方法?引导程序文档中似乎没有任何内容(至少我找不到它)

回答by Piotr Stapp

In Bootstrap 3.0 there is not needed resposive css. Quoting migration guide:

在 Bootstrap 3.0 中不需要响应式 css。引用迁移指南

"Mobile first" is a responsive Web design practice that prioritizes consideration of smart phones and mobile devices when creating Web pages. For Bootstrap 3, there is no longer a separate bootstrap-responsive.css file. All responsive features are now compiled into a single core bootstrap.css file.

“移动优先”是一种响应式 Web 设计实践,在创建网页时优先考虑智能手机和移动设备。对于 Bootstrap 3,不再有单独的 bootstrap-responsive.css 文件。所有响应式功能现在都被编译到一个单一的核心 bootstrap.css 文件中。