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.
Using containers - Bootstrap Tutorial
From the course: Bootstrap 4 Essential Training
Using containers
- [Instructor] One of the reasons people use Bootstrap is to be able to lay out content that's responsive. The main way that you do that is with a class called container, so we'll take a look at containers in this video and then go deeper into rows and columns in the next video. The grid itself is a responsive, 12-column system for creating just about any layout that you can think of. You start out with some sort of element that has some content. You can take that element and add a container class to it if you want it to align to certain breakpoints, and then, you can also break that container up into rows and columns with the rows and column class. In those containers, you can divide things in up to 12 columns. The spacing is divided into up to 12, but it can be less than that if you want to. Bootstrap uses a technology called Flexbox, which makes it easier to write some of this code. In order to learn the grid, you're going…
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)
-
-
-
-
-
-