How to do it...

  1. Open chapter3/start/app/recipe3.ejs and add the following code to it:
      <div class="container bg-white mt-5 rounded">      <h1>Chapter 3, Recipe 3:</h1>       <p class="lead">Style Text Content with Bootstrap Typography         Classes</p>      <!-- Let's apply the exisiting default Bootstrap styles to a        paragraph of text, as follows: -->       <p class="display-4">This is just a regular paragraph.</p>       <p class="display-3"><span class="text-muted">This is an example         of muted text</span>.</p>       <p class="display-2">       <span class="text-primary">All the </span>       <span class="text-success"> contextual Bootstrap</span>       <span class="text-info bg-primary"> colors have</span>        <span class="text-warning"> their specific</span> <span class="text-danger"> text color</span> ...

Get Bootstrap 4 Cookbook 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.