Where to find the twitter bootstrap less files?

2020-02-09 07:17发布

问题:

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