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.

Basic typography

Basic typography - Bootstrap Tutorial

From the course: Bootstrap 4 Essential Training

Start my 1-month free trial

Basic typography

- [Instructor] The CSS code that comes with Bootstrap overrides default browser behavior. Besides making things look great, it's also designed to be easy to override with your own CSS. So let's start by talking about a few ways that it handles typography. Now first, there is a special portion at the beginning of the Bootstrap styles that's referred to as Reboot.css. Now its job is to normalize styles so that they look similar in different devices and browsers. Unlike most other normalizing CSS templates, it's a bit opinionated. For example Bootstrap uses Rems, a font measurement system that makes it easier to control both the size of fonts across the entire platform, and within individual components. It's going to make it easier for you to manage your layouts because you can do things across the entire layout, or simply within a specific component a lot easier. Now in CSS, vertical margins can't collapse, and that makes it confusing to calculate the proper spacing in between a…

Contents