mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-29 18:50:24 +00:00
Docs: Rephrase 'img-fluid' explanation for clarity (and avoid passive voice). (#30190)
This commit is contained in:
parent
8087272f06
commit
f3e3c4976b
1 changed files with 1 additions and 1 deletions
|
|
@ -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" >}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue