Book description
Unearth the potential of Bootstrap 4 to create highly responsive and beautiful websites using modern web techniques
About This Book
- This book shows how to take advantage of the all new features introduced in Bootstrap
- Learn responsive web design and discover how to build mobile-ready websites with ease
- Find out how to extend the capabilities of Bootstrap with a huge range of tools and plugins, including jQuery,
- Do more with JavaScript and learn how to create an enhanced user experience
Who This Book Is For
If you want to learn to build enterprise-level websites efficiently with Bootstrap, this book is for you. You must have a basic and fundamental understanding of HTML, CSS, and JavaScript; however, there is no need to have prior Bootstrap experience.
What You Will Learn
- Fire up Bootstrap and set up the required build tools to get started
- See how and when to use Flexbox with the Bootstrap layouts
- Find out how to make your websites responsive, keeping in mind Mobile First design
- Work with content such as tables and figures
- Play around with the huge variety of components that Bootstrap offers
- Extend your build using plugins developed from JavaScript
- Use Sass to customize your existing themes
In Detail
Bootstrap, the most popular front-end framework built to design elegant, powerful, and responsive interfaces for professional-level web pages has undergone a major overhaul. Bootstrap 4 introduces a wide range of new features that make front-end web design even simpler and exciting.
In this gentle and comprehensive book, 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 your pages can fit any screen size and meet the responsive requirements. Learn to play with Bootstrap's grid system and base CSS to ensure your designs are robust and that your development process is speedy and efficient. Then, you'll find out how you can extend your current build with some cool JavaScript Plugins, and throw in some Sass to spice things up and customize your themes. This book will make sure you're geared up and ready to build amazingly beautiful and responsive websites in a jiffy.
Style and approach
With the help of several real-world examples and code, this book will teach you to build a full-featured responsive website in Bootstrap, which is mobile-ready.
Table of contents
-
Learning Bootstrap 4 - Second Edition
- Learning Bootstrap 4 - Second Edition
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Preface
-
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
Product information
- Title: Learning Bootstrap 4 - Second Edition
- Author(s):
- Release date: August 2016
- Publisher(s): Packt Publishing
- ISBN: 9781785881008
You might also like
book
Mastering Bootstrap 4 - Second Edition
Build responsive, dynamic, and mobile-first applications on the web with Bootstrap 4 About This Book Master …
book
Mastering Bootstrap 4
Learn how to build beautiful and highly customizable web interfaces by leveraging the power of Bootstrap …
book
Jump Start Bootstrap
Get a Jump Start on building applications with Bootstrap today! Originally developed by Twitter, Bootstrap is …
book
Vue.js 2 and Bootstrap 4 Web Development
Learn how to combine Bootstrap with Vue.js to build responsive web applications. About This Book Build …