responsive.less and other responsive less files missing from Bootstrap

非 Y 不嫁゛ 提交于 2019-12-11 03:17:45

问题


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.

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

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

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

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

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?


回答1:


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.



来源:https://stackoverflow.com/questions/20598656/responsive-less-and-other-responsive-less-files-missing-from-bootstrap

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!