Bootstrap缺少缺少active.less和其他响应较少的文件 [英] responsive.less and other responsive less files missing from Bootstrap

查看:144
本文介绍了Bootstrap缺少缺少active.less和其他响应较少的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在工作中进行响应式设计,并且有一个使用 苦苦地为引导程序编译最终的css文件,但是 响应网格不起作用.

I am needing a responsive design at work and have a template project that uses grunt to compile the final css file for bootstrap, but the responsive grids is not working.

我检查了我们正在编译哪些.less文件,以及 我们正在(除其他事项外)编译响应实用程序.less,

I checked out what .less files we are compiling and we are compiling (among other things) responsive-utilities.less,

但是人们说要确保添加response.less文件,并进行 确保Grunt也会对其进行编译.

but people are saying to make sure to add the responsive.less file, and make sure that gets compiled as well by Grunt.

唯一的问题是我在bootstrap支持的任何地方都找不到response.less. 我发现有人说如何少编译到最终CSS文件中,他们有 responsible.less,但他们没有说出它的来源

Only problem is I can't find responsive.less anywhere that is supported by bootstrap. I found people saying how to compile less into an end css file, and they had responsive.less, but they did not say where they got it

例如: http://www.yiiframework.com/wiki/447/using-bootstrap-with-less/ 该网站甚至说还包含较少的文件,例如

for example: http://www.yiiframework.com/wiki/447/using-bootstrap-with-less/ That website even says to also include less files such as

response-1200px-min.less,response-768px-979px.less",response-767px-max.less等

responsive-1200px-min.less, responsive-768px-979px.less", responsive-767px-max.less, etc

但是我在任何地方都找不到. 是否存在一些我不知道的秘密存储库? 隐藏吗?

But I can't find these anywhere. Is there some secret repository that I don't know about where all of the less files are hiding?

推荐答案

这些文件适用于3.0之前的版本

您仍然可以在此处获得它们,但3.0+不需要这些额外的文件,因为它开箱即用,并且实际上需要做一些事情才能使其不响应.

Those files are for Versions before 3.0

You can still get them for 2.3.2 here, but those extra files are not needed for 3.0+, as it is responsive out of the box, and in fact requires certain things to be done to make it not responsive.

这篇关于Bootstrap缺少缺少active.less和其他响应较少的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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