Chapter 6. Playing with Components

The real power of Bootstrap lies in the components contained within the framework. In this chapter, we'll go through a number of new and existing components. I'll show you how to use them and then we'll insert them into our sample blog project so you can see them in practice. Let's get right into it by covering one of the most commonly used components, which are buttons.

Using the button component

Buttons are one of the most commonly used components in Bootstrap. In version 4 of Bootstrap, some of the new options for the button component include an outlined variation, toggle states, and button groups with checkboxes and radios. Before we get into that, let's review the basic button options and configuration. Here's ...

Get Learning Bootstrap 4 - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.