我正在玩ASP.NET MVC默认项目。 我可以看到它使用bootstrap。但是,当我运行项目时,我看不到类似的内容:
<link href="/Content/bootstrap.css" rel="stylesheet"/>
正如我所料。
相反,我看到的是:
<link href="/Content/css?v=LzveySGbzre5hK6VV4ZexwQl1hUNcljL4UffuTMZH8g1" rel="stylesheet"/>
实际上是最小化的引导程序。
为什么是???
另外,我正在检查默认表单中的输入字段(注册,登录),我可以看到有css规则:
input, select, textarea {max-width: 280px;}
但是,当我对所有解决方案执行搜索时,我无法找到包含此类规则的任何地方:max-width: 280px
(我甚至找不到字符串“280px”)
发生了什么事? 280px出现在哪里?
答案 0 :(得分:0)
You need to check APP_Start\BundleConfig and code .css and site.css for manking bootstrap working... if you are using VS2013, you can choose MVC project that already includes bootstrap libraries...
Regards!!!