Skip to content
Learn Netverks

Lesson

Step 22/36 61% through track

images-figures

Responsive images and figures

Last reviewed Jun 1, 2026 Content v20260601
Track mode
iframe_html
Means
HTML preview sandbox
Reading
~1 min
Level
beginner

This lesson

This lesson teaches Responsive images and figures—the ideas, syntax, and habits you need before moving on in Bootstrap.

Bootstrap patterns appear constantly in legacy apps and rapid admin UI work.

You will apply Responsive images and figures in contexts like: Internal tools, WordPress themes, Laravel apps, and teams that want opinionated UI without writing every rule from scratch.

Read the lesson, edit HTML/CSS in the playground, press Run to preview, then answer the lesson MCQs.

When the previous lesson's MCQs feel easy and you can explain Responsive images and figures in your own words.

Make media scale with img-fluid (max-width: 100%; height: auto). Shape helpers: rounded, rounded-circle, img-thumbnail. Pair with semantic <figure> and <figcaption> from HTML images.

Layout integration

  • Grid columns constrain width; img-fluid prevents overflow
  • float-md-start me-md-3 — classic text-wrap around images on wider screens
  • ratio ratio-16x9 — embed responsive video or maps with fixed aspect ratio

Important interview questions and answers

  1. Q: img-fluid vs width 100% inline?
    A: img-fluid also sets height auto to preserve aspect ratio—safer default for responsive images.
  2. Q: When use ratio?
    A: When the container must keep 16:9 (or other) proportions regardless of content—videos, map embeds, skeleton placeholders.

Self-check

  1. Which class keeps an image from overflowing its column?
  2. What element wraps a caption beneath an illustration?

Interview tip Lesson completion confidence

Can you explain this lesson in 30 seconds without reading notes?

Not saved yet.

Playground

Runs in your browser in a sandboxed frame. Backend runners appear when this track’s profile allows them.

Check yourself

Multiple choice — immediate feedback.

Discussion

Past discussion is visible to everyone. Only logged-in users can post comments and replies.

Starter discussion topics

  • img-fluid vs object-fit—when each?
  • How do figures help accessibility?

Sign up or log in to post comments and sync lesson progress across devices.

No discussion yet. Be the first to ask a question.

Jump