Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools

Ilja Daderko
Ilja Daderko
8,953 Points

Best practices to customise Bootstrap 3 (Vanilla CSS)

Hello,

I went through various website themes built with Bootstrap 3 today, all of them looking neat, different and creative. Authors did outstanding jobs in customising bootstrap's default styles and adding their own and at the same time maintained clean code.

I wanted to ask if there are some general good practices, guidelines, advice etc.. on how to customise bootstrap, mainly css to sort of build your own style pack. And maintain clean code at the same time, also maybe get rid of unused code as well at the end of the project.

Thanks

2 Answers

Hi Llja make a different ccs file call e.g base and ref it under the bootstrap.css file in the html doc and then override the css in the base file.

Hope this helps!