From the course: Bootstrap 4 with Sass

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Global configuration variables

Global configuration variables - Bootstrap Tutorial

From the course: Bootstrap 4 with Sass

Start my 1-month free trial

Global configuration variables

- [Instructor] One of the main criticisms about bootstrap is that the library is pretty big, and then you end up installing a lot of things that you may not need for a specific project. Well, bootstrap is super customizable, so, I want to show you how, you can import only existing libraries, and also, which ones are the important libraries to think about when you're importing a custom version of bootstrap. So this line right here imports the entire framework, and so if you look in node modules, and you look for bootstrap, as I mentioned before, what you're importing is this file here in the scss folder called bootstrap.scss. So, what you see here is that this actually is a variety of other imports, and some of these are actually even within subfolders, you can see when you import "mixins" is actually importing a bunch of things that are in here. And most of these are pretty self-explanatory. So for example, if you see something like alert, that's clearly a mixin for the alert features…

Contents