twitter-bootstrap bootstrap-responsive.css 在哪里?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/13687233/
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 15:50:29  来源:igfitidea点击:

Where is bootstrap-responsive.css?

twitter-bootstrap

提问by nffdiogosilva

I know that by default the bootstrap doesn't come with the file, but after I customized (I've selected all the responsive features!) I still can't see the file. At the docs, it says that I should do this on head tag:

我知道默认情况下引导程序不附带文件,但是在我自定义后(我选择了所有响应功能!)我仍然看不到文件。在文档中,它说我应该在 head 标签上执行此操作:

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="assets/css/bootstrap-responsive.css" rel="stylesheet">

But the truth is that I don't even have the folder assets. What I do have is:

但事实是我什至没有文件夹资产。我所拥有的是:

\bootstrap
    \img
    \css
    \js

Can anyone help me?

谁能帮我?

回答by trante

Since Bootstrap 3 you don't need responsive.css anymore. Because it is inside default bootstrap.css.

从 Bootstrap 3 开始,您不再需要 Respond.css。因为它在默认的 bootstrap.css 里面。

Related: https://stackoverflow.com/a/16379181/429938

相关:https: //stackoverflow.com/a/16379181/429938

回答by Seung-hyup Lee

Download http://twitter.github.com/bootstrap/assets/bootstrap.zipand uncompress.

下载http://twitter.github.com/bootstrap/assets/bootstrap.zip并解压。

\bootstrap\css\bootstrap-responsive.css

\bootstrap\css\bootstrap-responsive.min.css

回答by scabbiaza

look here http://twitter.github.io/bootstrap/scaffolding.html#responsive

看这里 http://twitter.github.io/bootstrap/scaffolding.html#responsive

Bootstrap doesn't include responsive features by default at this time as not everything needs to be responsive. Instead of encouraging developers to remove this feature, we figure it best to enable it as needed.

Bootstrap 目前默认不包含响应式功能,因为并非所有内容都需要响应式。我们认为最好根据需要启用它,而不是鼓励开发人员删除此功能。

So if you need bootstrap-responsive.css, you should download it from bootstrap-source, from here for example: http://twitter.github.io/bootstrap/index.html

所以如果你需要 bootstrap-responsive.css,你应该从 bootstrap-source 下载它,例如从这里:http: //twitter.github.io/bootstrap/index.html

回答by ruccv

Or you can use directly as below:

或者你可以直接使用如下:

<link href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css" rel="stylesheet">

回答by Vimo Designs

They moved it to a different directory. Try this:

他们将其移至不同的目录。试试这个:

<link href="http://getbootstrap.com/2.3.2/assets/css/bootstrap-responsive.css" rel="stylesheet">

回答by Ashik Ali

https://ci.apache.org/projects/openejb/examples-generated/moviefun/src/main/webapp/assets/css/bootstrap-responsive.min.css.html
  1. make a file name bootstrap-reponsive.csson your CSS folder
  2. copy all these to that file.
  3. give link to that file on your HTML code
  1. bootstrap-reponsive.css在你的 CSS 文件夹上创建一个文件名
  2. 将所有这些复制到该文件中。
  3. 在您的 HTML 代码中提供指向该文件的链接