aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcdalexndr <[email protected]>2021-09-08 14:40:45 +0300
committerMark Otto <[email protected]>2021-09-13 22:19:13 -0600
commit55a352d02304cb0012194c33b8b50f9426b53f94 (patch)
treed30ead9cf348df7670312b64e6215151942fc694
parentc9af4565fdc13eff025736e574ea10690fd21a39 (diff)
downloadbootstrap-55a352d02304cb0012194c33b8b50f9426b53f94.tar.xz
bootstrap-55a352d02304cb0012194c33b8b50f9426b53f94.zip
Fix responsive img docs
https://github.com/twbs/bootstrap/issues/34885
-rw-r--r--site/content/docs/5.1/content/images.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/site/content/docs/5.1/content/images.md b/site/content/docs/5.1/content/images.md
index f1012efbf..9d13ef4fb 100644
--- a/site/content/docs/5.1/content/images.md
+++ b/site/content/docs/5.1/content/images.md
@@ -1,14 +1,14 @@
---
layout: docs
title: Images
-description: Documentation and examples for opting images into responsive behavior (so they never become larger than their parent elements) and add lightweight styles to them—all via classes.
+description: Documentation and examples for opting images into responsive behavior (so they never become wider than their parent) and add lightweight styles to them—all via classes.
group: content
toc: true
---
## Responsive images
-Images in Bootstrap are made responsive with `.img-fluid`. This applies `max-width: 100%;` and `height: auto;` to the image so that it scales with the parent element.
+Images in Bootstrap are made responsive with `.img-fluid`. This applies `max-width: 100%;` and `height: auto;` to the image so that it scales with the parent width.
{{< example >}}
{{< placeholder width="100%" height="250" class="bd-placeholder-img-lg img-fluid" text="Responsive image" >}}