From the course: Bootstrap 4 Essential Training
Unlock the full course today
Join today to access over 22,500 courses taught by industry experts or purchase this course individually.
Using borders - Bootstrap Tutorial
From the course: Bootstrap 4 Essential Training
Using borders
- [Instructor] Bootstrap also gives you ways to control the border on elements. And you can very easily specify that a border appear on one of the sides. So you can say border and then dash top, right, bottom, left and in addition to that, we can control the color of the border so you can specify primary, secondary, success, danger, or warning and some of the other contextual colors that you see here as well. And you also have the option of clearing out a border. So for that, you specify border dash zero and in addition to that some of these classes have be to combined. So we'll look at an example in just a minute. There's also a way of controlling the roundness of the edges of the borders that you're creating. And for that, this works pretty much like what we did when we worked with images so you have this rounded class and then you can specify a side to control the roundness on that side so top, right, bottom, left. Or you can specify a rounded and then specify a shape. So a rounded…
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
-
-
-
-
-
Layout overview1m 15s
-
Using containers9m 32s
-
Working with rows and columns12m 1s
-
Multiple column classes8m 43s
-
Offset columns2m 42s
-
Nested columns5m 3s
-
Custom order3m 43s
-
Grid alignment options8m 23s
-
Display properties10m 26s
-
Flexbox container options11m 21s
-
Individual flex elements4m 38s
-
Floating elements4m 26s
-
Margin and padding5m 11s
-
Visibility2m 53s
-
Sizing utilities3m 53s
-
Using borders3m 50s
-
-
-
-
-
-
-