Where to find the twitter bootstrap less files?

六月ゝ 毕业季﹏ 提交于 2019-12-18 03:03:22

问题


I'm trying to find a relatively easy way of adding padding to my containers with Twitter Bootstrap. All works well but at some resolutions, the window doesn't fit the screen. I figure I have to go and compensate for the padding by removing some of the width from various span classes?

This is quite hard work, just the mathematics alone is problematic. For this reason, perhaps it's best to use the less file that Bootstrap apparently comes with.

The only problem is I can't seem to find them anywhere. Do these files actually exist? Unfortunately I only know how to use Less through an app like Codekit as opposed to using the command line.

Alternatively, if anyone else knows of any way to add padding to the container, it would be much appreciated. Thank you.


回答1:


Most developers would probably clone the Twitter Bootstrap GitHub repository. However, if you're not used to working with git, there is a regular download of the repository.

You also might want to check out the Twitter Bootstrap Customize Page, which allows one to edit many of the LESS rules and then have it compile on their server.




回答2:


LESS files are in github repo - https://github.com/twbs/bootstrap/tree/master/less



来源:https://stackoverflow.com/questions/11976846/where-to-find-the-twitter-bootstrap-less-files

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