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 - Bootstrap Tutorial
From the course: Bootstrap 4 Essential Training
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Layout overview1m 15s
-
(Locked)
Using containers9m 32s
-
(Locked)
Working with rows and columns12m 1s
-
(Locked)
Multiple column classes8m 43s
-
(Locked)
Offset columns2m 42s
-
Nested columns5m 3s
-
(Locked)
Custom order3m 43s
-
(Locked)
Grid alignment options8m 23s
-
(Locked)
Display properties10m 26s
-
(Locked)
Flexbox container options11m 21s
-
(Locked)
Individual flex elements4m 38s
-
(Locked)
Floating elements4m 26s
-
(Locked)
Margin and padding5m 11s
-
(Locked)
Visibility2m 53s
-
(Locked)
Sizing utilities3m 53s
-
(Locked)
Using borders3m 50s
-
(Locked)
-
-
-
-
-
-