From the course: Dreamweaver CC: Responsive Design with Bootstrap 4
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Flex layout: Centered columns - Dreamweaver Tutorial
From the course: Dreamweaver CC: Responsive Design with Bootstrap 4
Flex layout: Centered columns
- [Narrator] Earlier in this chapter, I showed how easy it is to distribute columns equally by applying a flex utility class to a row. Centering content is just as simple, using a different flex utility class. As well as showing you how to do that, I want to discuss what a bootstrap row really is. This highlight section consists of six bootstrap columns in a single row. But if you look at it, well really I've got two rows of three. And if I resize, I've now got three rows of two. And on an extra small device, each column fills the full row, and the columns are all stacked vertically on top of each other. So rather than thinking literally about a row as a single line across the page, it's a container for other elements that you want to treat as a common group, and maybe style as a single entity. I want to create a new feature section below these highlights with all its contents centered at most break points. So I'm going to resize the document window by clicking the visual media…
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)
Resize and duplicate columns5m 29s
-
(Locked)
Flex layout: Equally distributed columns5m 18s
-
(Locked)
Use semantic markup3m 41s
-
(Locked)
Paste formatted text4m 50s
-
(Locked)
Insert fixed-size images5m 15s
-
(Locked)
Flex layout: Centered columns4m 57s
-
(Locked)
Paste into an empty column6m 14s
-
(Locked)
Style the feature section3m 54s
-
(Locked)
-
-
-