3 ms·
Is there a Dummies Guide to customising bootstrap (literally or figuratively) I would rather not waste the time experimenting these days
by lifeisstillgood 13y ago
Is there a Dummies Guide to customising bootstrap (literally or figuratively)
I would rather not waste the time experimenting these days
- darkchasma 13y agoStep 1 - Exclude the .less and .js files that you will not be using. Step 2 - Edit or override the variable.less file. Done
- lifeisstillgood 13y agoI suspect the answer is read the source, but A) how do I know what bits I will not be using B) how do the JS and LeSS files interact (can I leave out the JS as easily as the less?)
- darkchasma 13y agoIt's done intelligently, so you don't use tables, then you leave out tables.less. If you don't want tabs, then you leave out tabs.js.
- 1qaz2wsx3edc 13y agoAlso the chrome dev tools has an "Audits" tab which will reveal unused CSS rules. It's not perfect, but it gives you a good idea.
- trusche 13y agoIt's not quite a guide, but you can customize what to include, and make tweaks to fonts, spacing and the like, directly on the bootstrap site: http://twitter.github.io/bootstrap/2.3.2/customize.html http://twitter.github.io/bootstrap/2.3.2/customize.html It's fairly self-explanatory, and the resulting file will contain only the code you actually use, making for smaller file sizes.