1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-20 04:11:39 +02:00

Docs: Rephrase 'img-fluid' explanation for clarity (and avoid passive voice). (#30190)

This commit is contained in:
Michael Lehenbauer
2020-02-16 23:50:27 -08:00
committed by GitHub
parent 8087272f06
commit f3e3c4976b

View File

@@ -8,7 +8,7 @@ toc: true
## Responsive images
Images in Bootstrap are made responsive with `.img-fluid`. `max-width: 100%;` and `height: auto;` are applied 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 element.
{{< example >}}
{{< placeholder width="100%" height="250" class="bd-placeholder-img-lg img-fluid" text="Responsive image" >}}