From the course: Bootstrap 5 Essential Training
Unlock this course with a free trial
Join today to access over 23,300 courses taught by industry experts.
Typography elements - Bootstrap Tutorial
From the course: Bootstrap 5 Essential Training
Typography elements
- [Instructor] Some typography styles are related to the way fonts and texts look on your layout. So let's check those out. The first is a few text wrapping classes. They look like this. You type in the keyword text and then one of these different items. So you can say text wrap, nowrap or break. They control how a text wraps, whether spaces, rap or not and also if very long words should break. So let's take a look at these because I think the explanation is not as good as taking a look at some code. So here is a couple of different sentences and I've applied the different classes here. So the text wrap class will automatically wrap an item. So if I make this window smaller, you can see that this one right here is wrapping. And the second one where I've applied a text nowrap class is not wrapping. Now the final one is the text break class and that controls whether extremely long pieces of texts would actually break. So I'm going to add a bigger font size to that last one so that you…