Book Image

Bootstrap 4 Site Blueprints - Second Edition

By : Ian Whitney, David Cochran
Book Image

Bootstrap 4 Site Blueprints - Second Edition

By: Ian Whitney, David Cochran

Overview of this book

Packed with trade secrets, this second edition is your one-stop solution to creating websites that will provide the best experience for your users. We cover six popular, real-world examples, where each project teaches you about the various functionalities of Bootstrap 4 and their implementation. The book starts off by getting you up and running with the new features of Bootstrap 4 before gradually moving on to customizing your blog with Bootstrap and SASS, building a portfolio site, and turning it into a WordPress theme. In the process, you will learn to recompile Bootstrap files using SASS, design a user interface, and integrate JavaScript plugins. Towards the end of the book, you will also be introduced to integrating Bootstrap 4 with popular application frameworks such as Angular 2, Ruby on Rails, and React.
Table of Contents (15 chapters)
Bootstrap 4 Site Blueprints
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface

Tweaking the columns and their content


Let's fine-tune the blocks of content under the three headings Welcome!, Recent Updates, and Our Team:

  1. First, let's add the arrow-circle icon to the button in each of these three blocks. Recall that we're using Font Awesome for our icon selection.

  2. Visit the Font Awesome documentation at http://fortawesome.github.io/Font-Awesome/icons/. You'll find the icon that we're after:

  3. In the html/pages/index.html file, add an i tag with the appropriate classes inside each link. Here is the first one, which I've spaced out by adding an extra carriage return between elements:

          <p> 
            <a class="btn btn-primary pull-right" href="#"> 
              See our portfolio  <i class="fa fa-arrow-circle- 
                right"></i> 
            </a> 
          </p> 
    
  4. Repeat for each link.

You should now have the desired icon in each of the three buttons:

While we're at it, let's add a bit of vertical padding between the...