Bootstrap Cheat Sheet


If you don't know how to use this tool please follow the user guide which I mention in the tool description.

🔲 Layout

Class (Code)DescriptionCopy
.containerFixed-width responsive container
.container-fluidFull-width container across all viewports
.rowCreates a row for columns
.colAuto width column
.col-650% column width
.g-3Grid gap spacing

🔤 Typography

Class (Code)DescriptionCopy
.fw-boldBold text
.fw-lightLight weight text
.text-uppercaseUppercase text
.text-centerCenter aligned text
.text-mutedMuted color text

🔘 Buttons

Class (Code)DescriptionCopy
.btnBase button class
.btn-primaryPrimary button
.btn-outline-dangerDanger outline button
.btn-lgLarge size button
.btn-blockFull-width button (Deprecated)

🧰 Utilities

Class (Code)DescriptionCopy
.d-flexApply flex display
.justify-content-centerCenter content horizontally
.align-items-centerCenter items vertically
.mt-3Margin top spacing
.p-4Padding spacing

📋 Forms

Class (Code)DescriptionCopy
.form-controlStyle text inputs
.form-checkCheckbox and radio container
.form-check-inputCheckbox or radio input

📦 Cards

Class (Code)DescriptionCopy
.cardBasic card container
.card-bodyCard content area

🔔 Alerts

Class (Code)DescriptionCopy
.alertBase alert container
.alert-successSuccess alert
.alert-dangerError alert

Turbo Bootstrap Cheat Sheet

Use the Bootstrap cheat sheet and develop static and dynamic websites for your client easy and fast way. To know more about Bootstrap Cheat Sheet read the full article.

If you're new to web development and seeking a straightforward resource to master Bootstrap, the Bootstrap Cheat Sheet from Turbo SEO Tools is an excellent starting point. This tool offers a user-friendly, copy-and-paste guide to Bootstrap 5's most commonly used classes, making it ideal for beginners aiming to build responsive and modern websites efficiently.

What Is the Bootstrap Cheat Sheet?

The Bootstrap Cheat Sheet is a free, web-based reference tool that organizes essential Bootstrap classes into clear categories. Each class is accompanied by a brief description and a convenient copy button, allowing you to seamlessly integrate them into your HTML code. This resource is particularly beneficial for beginners who prefer a visual and practical approach to learning.

How to integrate bootstrap to your website?

Bootstrap is a powerful CSS framework that helps you build responsive and modern-looking websites quickly. Below are the two most common ways to integrate Bootstrap into your website:

Method 1: Using Bootstrap CDN (Recommended for Beginners)

This is the easiest way to use Bootstrap without downloading anything.

Steps:

  1. Open your HTML file in any code editor (e.g., VS Code, Sublime Text).
  2. Add the following lines inside the <head> and just before the closing </body> tag.

HTML Template with Bootstrap 5 (via CDN):

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>My Bootstrap Website</title>
  
  <!-- Bootstrap CSS -->
  <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>

  <div class="container mt-5">
    <h1 class="text-center text-primary">Hello, Bootstrap!</h1>
    <p class="lead text-center">This is a simple example using Bootstrap 5.</p>
  </div>

  <!-- Bootstrap JS and Popper.js -->
  <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>
​​​​​​

Advantages of Using CDN:

  • No need to download files.
  • Always uses the latest version.
  • Works on any device with internet access.

Method 2: Download Bootstrap and Host Locally

If you want full control and offline access, download the Bootstrap files.

Steps:

  1. Go to https://getbootstrap.com
  2. Click Download, then choose the compiled CSS & JS files.
  3. Extract the downloaded ZIP file.
  4. Copy the css and js folders to your website project directory.

Link Bootstrap Locally in HTML:

<link rel="stylesheet" href="css/bootstrap.min.css"> <script src="js/bootstrap.bundle.min.js"></script> 

Folder Structure Example:

my-website/

├── index.html
├── css/
│   └── bootstrap.min.css
└── js/
    └── bootstrap.bundle.min.js
 

Tips for Using Bootstrap

  • Use TurboSEOtools Bootstrap Cheat Sheet for quick access to common Bootstrap classes.
  • Customize Bootstrap by overriding styles in your own CSS file.
  • Combine Bootstrap with custom JavaScript to add interactivity.

Why Beginners Will Love It

  • No Installation Required: Access the cheat sheet directly online without any setup.
  • Time-Saving: Quickly find and copy the classes you need.
  • Beginner-Friendly: Designed with simplicity in mind, making it accessible for those new to Bootstrap.
  • SEO Optimized: As part of Turbo SEO Tools, it complements other SEO and web development resources available on the platform.Turbo SEO Tools

Explore More Development Tools

Turbo SEO Tools offers a suite of additional resources to enhance your web development journey:

These tools are designed to streamline your workflow and improve your website's performance and SEO.Turbo SEO Tools

Final Thoughts

The Bootstrap Cheat Sheet from Turbo SEO Tools is an invaluable resource for beginners venturing into responsive web design. Its organized layout and practical features make learning Bootstrap more approachable and efficient. Whether you're building a personal project or developing a client website, this cheat sheet can significantly accelerate your development process.

Explore the Bootstrap Cheat Sheet today and enhance your web development skills with ease.