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

Setting up the basics of your design


We start modifying the result of Chapter 5, Bootstrappin' Your Portfolio, and should end up with the basics, similar to that shown in the following screenshot:

Note the following features:

  • A complex navbar that has seven main nav items, each with a drop-down menu

  • The first of the three columns is equipped with a carousel, followed by a heading, paragraph, and button

  • The second and third columns, which have headings, paragraphs, and Read more -> buttons

  • A footer that has the logo and social icons

You'll recognize elements we've already worked with in Chapter 5, Bootstrappin' Your Portfolio. The carousel is now smaller—constrained by its containing column. Otherwise, the markup is the same.

Adding drop-down menus to our navbar

Bootstrap's JavaScript Dropdown Plugin enables you to create drop-down menus with ease. You can also add these drop-down menus to your navbar.

Open the html/includes/header.html file in your text editor. Notice that the Gulp build process...