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.
Typographic utilities - Bootstrap Tutorial
From the course: Bootstrap 4 Essential Training
Typographic utilities
- [Instructor] Bootstrap has a lot of utility classes that can help you take care of typography needs, and they really match what's available with CSS. So, let's take a look at 'em, and then we'll work on an example. So, first is the alignment utilities, and essentially, you can use this one called text-justify to make sure that on a big paragraph, both of the sides are aligned to the edges of the text. And then, in addition to that you have this complicated looking formula here, but what it does is allows you to create a different positioning at different breakpoints, so you can say something like text and then lg and then a position. So you can say, "Whenever the viewport reaches "the large breakpoint at 992 pixels, "then I want you to center this content." And so, you can use these to do different things at different breakpoints. You also have the line height alignments, and these are interesting. They are essentially available for inline, inline block, inline table, and table cell…
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.