Bootstrap 4 – Responsive Web Design
Read it now on the O’Reilly learning platform with a 10-day free trial.
O’Reilly members get unlimited access to books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.
Book description
Unearth the potential of Bootstrap with step-by-step guidance.
About This Book
An applied guide exploring web application development with Bootstrap 4
Learn responsive web design and discover how to build mobile-ready websites with ease
Become an expert in Bootstrap framework, and speed up frontend development and prototyping through real-life examples
Who This Book Is For
If you’re a web developer with little or no knowledge of Bootstrap, then this course is for you. The course offers support for version 4 of Bootstrap; however, it will offer support for version 3 as well. So, you will be ready for whatever comes your way. Prior knowledge of HTML, CSS, and JavaScript is expected.
What You Will Learn
Discover how to use Bootstrap's components and elements, and customize them for your own projects
Understand the framework's usage in the best way with the recommended development patterns
Use Sass to customize your existing themes
Apply the Bootstrap mobile-first grid system and add responsiveness and aesthetic touches to image elements
Customize the behavior and features of Bootstrap’s jQuery Plugins extensively
Style various types of content and learn how to build a page’s layout from scratch by applying the power of Bootstrap 4
Work with content, such as tables and figures
In Detail
Bootstrap framework's ease-of-use (along with its cross-browser compatibility, support for mobile user interfaces, and responsive web design capabilities) makes it an essential building block for any modern web application.
With the first module, plunge into the Bootstrap frontend framework with the help of examples that will illustrate the use of each element and component in a proper way. You will get a better understanding of what is happening and where you want to reach. Also, you will gain confidence with the framework and develop some very common examples using Bootstrap. All these examples are explained step by step and in depth.
The second module is a comprehensive tutorial; we'll teach you everything that you need to know to start building websites with Bootstrap 4 in a practical way. You'll learn about build tools such as Node, Grunt, and many others. You'll also discover the principles of mobile-first design in order to ensure that your pages can fit any screen size and meet responsive requirements. Learn Bootstrap's grid system and base CSS to ensure that your designs are robust and that your development process is speedy and efficient.
Right from the first chapter of the third module, you'll delve into building a customized Bootstrap website from scratch. Get to grips with Bootstrap's key features and quickly discover the various ways in which Bootstrap can help you develop web interfaces. Once you reach the final pages of this book, you should have mastered the framework's ins and outs, and should be building highly customizable and optimized web interfaces.
The course will enable you to rapidly build elegant, powerful, and responsive interfaces for professional-level web pages using Bootstrap 4.
This Learning Path combines some of the best that Packt has to offer in one complete, curated package. It includes content from the following Packt products:
Bootstrap by Example – by Silvio Moreto
Learning Bootstrap 4, Second Edition – by Matt Lambert
Mastering Bootstrap 4 – by Benjamin Jakobus and Jason Marah
Style and approach
This course will help you unearth the potential of Bootstrap and will provide a step-by-step guide on how to create beautiful websites and model web applications.
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the code file.
Table of contents
-
Bootstrap 4 – Responsive Web Design
- Table of Contents
- Bootstrap 4 – Responsive Web Design
- Credits
- Preface
-
1. Module 1
- 1. Getting Started
- 2. Creating a Solid Scaffolding
- 3. Yes, You Should Go Mobile First
- 4. Applying the Bootstrap Style
- 5. Making It Fancy
- 6. Can You Build a Web App?
- 7. Of Course, You Can Build a Web App!
- 8. Working with JavaScript
- 9. Entering in the Advanced Mode
- 10. Bringing Components to Life
- 11. Making It Your Taste
-
2. Module 2
-
1. Introducing Bootstrap 4
-
Introducing Bootstrap
- Bootstrap 4 advantages
- Implementing framework files
- Inserting the JavaScript files
- The starter template
- Normalizing and Rebooting
- Taking the starter template further
- Using a static site generator
- Converting the base template to a generator
- Installing Harp.js
- Adding Sass in Harp
- Setting up the project
- Setting up the layout
- Compiling your project
- Previewing your project
- Deploying your project
- Summary
-
Introducing Bootstrap
- 2. Using Bootstrap Build Tools
- 3. Jumping into Flexbox
-
4. Working with Layouts
- Working with containers
- Inserting rows into your layout
- Adding columns to your layout
- Choosing a column class
- Creating a simple three-column layout
- Mixing column classes for different devices
- Coding the blog home page
- Using responsive utility classes
- Summary
- 5. Working with Content
-
6. Playing with Components
- Using the button component
- Basic button examples
- Creating outlined buttons
- Checkbox and radio buttons
- Coding forms in Bootstrap 4
- Creating an inline form
- Adding validation to inputs
- Using the Jumbotron component
- Adding the Label component
- Using the Alerts component
- Using Cards for layout
- Updating the Blog index page
- How to use the Navs component
- Adding Breadcrumbs to a page
- Using the Pagination component
- How to use the List Group component
- Summary
- 7. Extending Bootstrap with JavaScript Plugins
-
8. Throwing in Some Sass
- Learning the basics of Sass
- Using Sass in the blog project
- Importing partials in Sass
-
Creating a collection of variables
- Importing the variables to your custom style sheet
- Adding a color palette
- Adding some background colors
- Setting up variables for typography
- Coding the text color variables
- Coding variables for links
- Setting up border variables
- Adding variables for margin and padding
- Adding mixins to the variables file
- Coding a border-radius mixin
- Customizing components
- Writing a theme
- Summary
- 9. Migrating from Version 3
-
1. Introducing Bootstrap 4
-
3. Module 3
-
1. Revving Up Bootstrap
- Introducing our demo project
-
What Bootstrap 4 Alpha 4 has to offer
- Layout
- Content styling
- Components
- Mobile support
- Utility classes
- Cross-browser compatibility
- Sass instead of Less
- From pixel to root em
- No more support for Internet Explorer 8
- A new grid tier
- Bye-bye GLYPHICONS
- Bigger text: no more panels, wells, and thumbnails
- New and improved form input controls
- Customization
- Setting up our project
- Summary
- 2. Making a Style Statement
- 3. Building the Layout
- 4. On Navigation, Footers, Alerts, and Content
- 5. Speeding Up Development Using jQuery Plugins
- 6. Customizing Your Plugins
- 7. Integrating Bootstrap with Third-Party Plugins
- 8. Optimizing Your Website
- 9. Integrating with AngularJS and React
-
1. Revving Up Bootstrap
- Bibliography
- Index
Product information
- Title: Bootstrap 4 – Responsive Web Design
- Author(s): Silvio Moreto, Matt Lambert, Benjamin Jakobus, Jason Marah
- Release date: July 2017
- Publisher(s): Packt Publishing
- ISBN: 9781788397315
You might also like
book
Learning Bootstrap 4 - Second Edition
by Matt Lambert
Unearth the potential of Bootstrap 4 to create highly responsive and beautiful websites using modern web …
book
Bootstrap: Related Tools & Skills
by Maria Antonietta Perna, David Attard, Callum Hopkins, Ahmed Bouchefra, Reggie Dawson, Ivaylo Gerchev
Bootstrap stands as one of the most popular, open-source, front-end frameworks on the Web. Since its …
book
Bootstrap 4 Cookbook
by Ajdin Imsirovic
Take your Bootstrap game to the next level with this practical guide About This Book Packed …
video
Bootstrap 4 Development for Professionals
by Eduonix Learning Solutions
Bootstrap 4 has taken the world of web development by storm with its user-friendly features that …