From the course: Bootstrap 4 Essential Training

Unlock the full course today

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

Flexbox container options

Flexbox container options - Bootstrap Tutorial

From the course: Bootstrap 4 Essential Training

Start my 1-month free trial

Flexbox container options

- [Instructor] Let's take a look at some of the additional options we can add to the flex container, modify the behavior of the items within. Now, when you're working with the flex container, you have two options. You can add additional classes to the container and that modifies how all the internal items work or you can modify individual items within the container with additional classes. We're going to focus in just the classes that you can add to the container in this video. So, here's a review of how the regular container works. Use the letter d, then an optional breakpoint. And then if you want to, you can make the container be an inline. And if you don't include inline, then it's going to be a block container. And then of course, you use the flex keyword. So, the simplest container would be a d-flex container and if you want to, you can use the different breakpoints: sm, md. And then, as I mentioned optionally, inline. One of the additional classes that we can use on the…

Contents