#1 India's Top IT Training Institute
×

About Uncodemy

Know more about who we are and what we stand for.

About Us

About Us

Discover our mission to equip individuals with essential IT skills and industry expertise.

Read More →
UnCodeMy Gallery

UnCodeMy Gallery

Explore highlights from our IT training sessions and success stories.

Read More →
Mentors

Mentors

Meet the industry experts who train and guide you through your course.

Read More →
Free Resources

Free Resources

Free tutorials, interview questions, tools and calculators to help you learn.

Explore →
×

Free Resources

Learn, practice and plan your career — bilkul free.

Tutorials

Tutorials

Step-by-step written tutorials to learn any technology at your own pace.

Read More →
Free Counselling

Free Counselling

Book a free video counselling session and pick the right course for you.

Read More →
Online Compiler

Online Compiler

Write, run and test your code online — no setup required.

Read More →

Bootstrap Notes PDF

Free Bootstrap 5 notes PDF: containers, breakpoints, 12-column grid, spacing and flex utilities, navbar, cards, forms, tables, modal and projects.

20 pages · 171 KB · PDF · Updated 5 Nov 2026

Prepared by: Uncodemy trainer team  ·  Reviewed by: Uncodemy  ·  Last reviewed: 5 Nov 2026

Quick Answer

Uncodemy's Bootstrap notes PDF explains Bootstrap 5.3 in 20 pages: the CDN starter template, containers and breakpoints, the 12-column grid, typography and colours, spacing, sizing and flex utilities, borders and shadows, buttons, alerts, cards, navbar, forms, tables and JavaScript components such as modal, dropdown and accordion. It ends with 7 projects and 10 practice questions, and is free to download after a short form.

Key takeaways

  • Every layout follows container, then row, then col, and each row has 12 columns.
  • Bootstrap is mobile first: col-md-6 applies from the md breakpoint (768px) and up.
  • Spacing classes follow one pattern, property, side and size, such as mt-3 or px-5.
  • Modal, dropdown, collapse and tabs work with data-bs-* attributes alone; tooltips need one line of JavaScript.
  • Bootstrap 5 drops jQuery and uses ms- and me- instead of the old ml- and mr- classes.

About these Bootstrap notes

This page offers Uncodemy's Bootstrap notes as a free PDF. Bootstrap is a free CSS and JavaScript framework that gives ready-made classes for layout, buttons, forms, menus and more, so you build responsive pages by adding class names instead of writing long CSS. The notes follow Bootstrap 5.3, explain each part with a table of classes and a short HTML example, and use simple diagrams for the breakpoints, the 12-column grid and the parts of a card.

Please note: these are original Uncodemy learning notes, not the official Bootstrap documentation. Keep the official docs open for the full list of classes and options.

What's inside the Bootstrap notes

The PDF has 20 pages arranged in 14 numbered sections. Here is what each section covers.

1. Start with Bootstrap

What Bootstrap is, its four parts (grid, components, utilities and JavaScript), and a starter template that loads the Bootstrap 5.3 CSS and JS bundle from a CDN with the viewport meta tag.

2. Containers and breakpoints

container, container-fluid and responsive containers such as container-md, the six breakpoints from xs to xxl with a diagram, and a table of each breakpoint's class infix and container width.

3. The grid system

Container, row and col, the 12-column rule with a diagram, equal and fixed columns, responsive columns such as col-12 col-md-6 col-lg-4, row-cols, gutters, offsets, order, alignment on the row, and nested rows.

4. Typography, colours and backgrounds

Heading and display classes, lead, font weight, alignment and text case classes, the theme colours (primary, secondary, success, danger, warning, info, light and dark) with text and background classes, text-bg-* and dark mode with data-bs-theme.

5. Spacing, sizing and display

The spacing class pattern (margin or padding, side and size from 0 to 5), width and height classes, d-none and d-block, and showing or hiding elements on different screen sizes.

6. Flex utilities

d-flex, direction, justify-content-*, align-items-*, wrap, gap, flex-grow-1 and ms-auto, with examples to centre content on the page and build a simple top bar.

7. Borders, shadows and position

Border, rounded corner, shadow and position classes, fixed-top and sticky-top, and a button with a notification badge placed in the corner.

8. Buttons, badges and alerts

Solid and outline buttons, sizes, full-width and disabled buttons, the close button, badges, and success or danger alerts that can be dismissed.

9. Cards, list groups and images

The parts of a card with a diagram, a single card, a responsive card gallery (1 on phone, 2 on tablet, 3 on laptop), list groups, and img-fluid, img-thumbnail and rounded images.

10. Navbar and navigation

A table of navbar classes, a responsive navbar that collapses into a hamburger button, and tabs, pills, breadcrumb and pagination.

11. Forms

form-control, form-select, form-check, form-text, input groups, floating labels, sizes and validation states, with a sign-up form laid out on the grid.

12. Tables

Base, striped, hover, bordered, dark and small tables, and the table-responsive wrapper for small screens.

13. JavaScript components

data-bs-toggle, data-bs-target, data-bs-dismiss and data-bs-parent, with a modal, a dropdown, a collapse, an accordion, the carousel classes and a tooltip that needs one line of JavaScript.

14. Projects and practice

Seven projects (portfolio page, responsive navbar site, landing page, pricing cards, contact form, admin dashboard and photo gallery with a slider), a common mistakes table and 10 practice questions.

How to use these notes to learn Bootstrap

Bootstrap is about remembering class patterns, and the fastest way to remember them is to use them on a real page.

  • Start every practice page from the starter template in section 1.
  • Resize the browser or use DevTools device mode to see each breakpoint change the layout.
  • Learn the spacing and grid patterns once; most other classes follow the same naming style.
  • Rebuild one section of a real website, such as its navbar, cards and footer, with Bootstrap classes only.

A simple three-pass method works well. In the first pass, read one section and type its examples into one practice page. In the second pass, close the notes and build the same part again from memory. In the third pass, a day or two later, answer the related practice questions and build one project from section 14.

Class patterns to remember

  • Layout: container then row then col-*; columns in a row add up to 12.
  • Breakpoints: sm 576px, md 768px, lg 992px, xl 1200px, xxl 1400px; a class works from its size and up.
  • Spacing: m or p, then t, b, s, e, x or y, then a size from 0 to 5 or auto, such as mt-3 or px-5.
  • Centring: d-flex justify-content-center align-items-center.
  • Hide on phones only: d-none d-md-block.
  • Card gallery: row row-cols-1 row-cols-md-2 row-cols-lg-3 g-4.

Common mistakes beginners make

  • Leaving out the viewport meta tag.
  • Putting col classes outside a row, or a row outside a container.
  • Adding columns that total more than 12 and wondering why they wrap.
  • Using Bootstrap 4 classes such as ml-3 and mr-3 instead of ms-3 and me-3.
  • Loading your own style.css before Bootstrap, so your styles are overridden.

Interview focus: Bootstrap topics asked most

Bootstrap questions come up in front-end, web designer and full stack fresher interviews, often with a small build task.

  • What Bootstrap is and why it is called mobile first.
  • The 12-column grid with container, row and col, and the breakpoints.
  • container versus container-fluid.
  • The spacing class pattern and flex utilities.
  • How components such as a modal or navbar work with data attributes.

Typical questions

  1. What is Bootstrap? Why is it called mobile first?
  2. Explain the 12-column grid with container, row and col.
  3. What are the Bootstrap breakpoints? What does col-md-6 mean?
  4. What is the difference between container and container-fluid?
  5. Explain the spacing class pattern. What does px-3 mt-5 do?
  6. How do you centre a box on the page using flex utilities?
  7. How does a modal open without writing JavaScript?
  8. What changed from Bootstrap 4 to Bootstrap 5?

Be ready to build a navbar that collapses on mobile or a card gallery that shows 1 card on phone and 3 on laptop.

A 7-day plan for Bootstrap

  1. Day 1: Start with Bootstrap, containers and breakpoints. Set up the starter template.
  2. Day 2: The grid system. Build layouts that change from 1 column on phone to 3 on laptop.
  3. Day 3: Typography and colours, spacing, sizing and display.
  4. Day 4: Flex utilities, borders, shadows and position. Build a top bar and a notification badge.
  5. Day 5: Buttons, badges, alerts, cards, list groups and images. Build the pricing cards project.
  6. Day 6: Navbar and navigation, forms, tables and JavaScript components. Build a landing page with a navbar, a form and a modal.
  7. Day 7: answer the 10 practice questions from memory and build the admin dashboard project.

Keep the Bootstrap docs open next to your editor and build one small page every week.

Who these notes are for

  • Students who know basic HTML and CSS and want to build responsive pages faster.
  • B.Tech, BCA and MCA students making web projects or college websites.
  • Learners in a full stack or web design course.
  • Freshers revising Bootstrap before front-end or web developer interviews.

Bootstrap sits on top of HTML and CSS. If the box model and flexbox are new to you, read the HTML CSS Notes PDF first so the Bootstrap classes make sense.

Download Bootstrap Notes PDF

Bootstrap Notes PDF: Grid, Components, Utilities

The PDF carries the same content as this page in a clean, print-ready layout, so you can read it offline and keep it for revision.

20 pages · 171 KB · PDF · Updated 5 Nov 2026

Download PDF

Sources and further reading

Frequently Asked Questions

What does this Bootstrap notes PDF cover?
It covers the starter template, containers and breakpoints, the 12-column grid, typography, colours, spacing, sizing, flex utilities, borders, buttons, alerts, cards, navbar, forms, tables and JavaScript components, with 7 projects and 10 practice questions in 20 pages.
Which Bootstrap version do these notes follow?
Bootstrap 5.3. The notes point out the main changes from Bootstrap 4, such as no jQuery, the ms and me spacing classes and data-bs attributes.
Do I need to know CSS before Bootstrap?
Basic HTML and CSS are enough. Knowing the box model and flexbox helps, because Bootstrap's grid and flex utilities are built on them.
Are these Bootstrap notes free?
Yes. Fill in the short form on this page and the PDF downloads right away. There is no fee for the notes.
Is Bootstrap still worth learning?
Yes. Many company websites, admin panels and college projects still use Bootstrap, and it is a quick way to build responsive pages. Learning plain CSS layout alongside it keeps you flexible.
Can I print these notes?
Yes. Print them for personal study and keep the grid, breakpoint and spacing tables next to you while you build pages.