Bootstrap 5 and CSS Media Queries: Build a Responsive Site

BizatWeb
BizatWeb
67 followers

Two halves, one project. First you make a broken page responsive by hand with CSS media queries, so you understand what breakpoints actually do. Then you build a complete property listing site with Bootstrap 5 and watch it handle all of that for you.

🎁 Create a free BizatWeb account and watch our free courses
👉 https://bizatweb.com/supporters/sign_up

The first half starts with a deliberately broken layout — two fixed columns that collapse into a scrollbar the moment you shrink the browser. We fix it step by step: where media queries belong in a stylesheet and why the order matters, writing a max-width query for phones, stacking columns, adding a second breakpoint for small screens, scaling type per device, and using min-width to target larger screens and ranges in between.

The second half builds the real thing with Bootstrap 5: a navigation bar that collapses on mobile, an image carousel with controls, a card grid for the listings, buttons, Font Awesome icons, text utilities, badges, a full contact form with a textarea, and a three-column footer with links, a newsletter block, contact details and a copyright bar. Poppins from Google Fonts throughout, plus a custom stylesheet for what Bootstrap doesn't cover.

Everything uses Bootstrap 5, the current version. The classes shown are the ones in the documentation today — nothing to downgrade and nothing to work around.

Only an editor and a browser needed. No build tools, no frameworks beyond Bootstrap.

⏱️ Chapters:

PART 1 — Responsive CSS by Hand
0:00 What we're building
1:31 Installing VS Code and Live Server
3:13 What "responsive" actually means
4:48 Why media queries exist
7:40 Building the starter page in HTML
10:47 Styling it with CSS
14:13 Padding and alignment
16:36 Watching the layout break
17:51 Where media queries belong, and what breakpoints are
19:40 Your first query: max-width 768px
21:19 Stacking the columns
23:40 A second breakpoint for small phones
26:03 Scaling font size per device
28:24 Using min-width for larger screens
30:20 Targeting a range between two widths

PART 2 — Setting Up Bootstrap 5
32:40 Starting the Bootstrap project
35:00 Adding Bootstrap 5 and Google Fonts
37:20 Your own stylesheet and the page skeleton

PART 3 — Header and Listings
41:34 The responsive navigation bar
43:57 The image carousel
47:31 Listing cards and the grid
51:07 Card spacing and layout
1:01:50 Buttons
1:04:13 Font Awesome icons
1:06:33 Text utilities and uppercase
1:08:54 Badges

PART 4 — Contact Form
1:11:19 Building the form
1:13:43 Adding more fields
1:17:17 The textarea and form styling

PART 5 — Footer
1:19:40 A three-column footer layout
1:22:04 Footer links
1:24:28 Footer styling
1:29:12 The newsletter section
1:33:54 Contact details
1:37:29 The copyright bar
1:39:53 Finishing the call-to-action section

📌 BizatWeb is not affiliated with, endorsed by, or sponsored by the Bootstrap project, Font Awesome, Google, or Microsoft.

🔔 New web development courses every week:
https://youtube.com/@BizatWeb

━━━━━━━━━━━━━━━━━━
📚 GO DEEPER WITH BIZATWEB
━━━━━━━━━━━━━━━━━━

💎 The layout works — ready to build sites people pay you for?
👉 https://bizatweb.com/supporters/sign_up

━━━━━━━━━━━━━━━━━━
📱 FOLLOW BIZATWEB
━━━━━━━━━━━━━━━━━━

🌐 Website → https://bizatweb.com
📸 Instagram → https://instagram.com/BizatWebHQ
👍 Facebook → https://facebook.com/BizatWebHQ
🎵 TikTok → https://tiktok.com/@BizatWeb
💬 WhatsApp → https://wa.me/212637648713

📧 [email protected]

🔥 Learn the Skill. Build the Business. Own Your Income.

#BizatWeb #OnlineBusiness #DigitalMarketing #Entrepreneurship #Bootstrap