Book Image

Learning Bootstrap

By : Judicael Ayo-Dele SOSSOU, Aravind Shenoy, Ulrich Krause
Book Image

Learning Bootstrap

By: Judicael Ayo-Dele SOSSOU, Aravind Shenoy, Ulrich Krause

Overview of this book

Table of Contents (15 chapters)
Learning Bootstrap
About the Authors
About the Reviewers
Free Chapter
Getting Started with Bootstrap

Overriding with custom CSS

The easiest way to customize Bootstrap is to create your custom CSS file where you will put your own CSS code. The link to this customized CSS file needs to be added after the Bootstrap CSS in your HTML document for it to override the Bootstrap CSS declarations.

Look at the following code to understand it better:

<!DOCTYPE html>
<title>BootStrap with Packt</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Latest Bootstrap CDN CSS -->
<link rel="stylesheet" href="">
<h1>Welcome to Packt</h1>
<button type="button" class="btn btn-default btn-sm" id="packt">PACKT LESSONS</button>
<!-- Latest compiled and minified JavaScript -->
<script src=""></script...