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.
Basic typography - Bootstrap Tutorial
From the course: Bootstrap 4 Essential Training
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…
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.