aboutsummaryrefslogtreecommitdiff
path: root/docs/content
diff options
context:
space:
mode:
authorKevin Kirsche <[email protected]>2015-08-20 17:38:40 -0400
committerKevin Kirsche <[email protected]>2015-09-01 21:12:28 -0700
commit54fba7cbe598b92e76d98ac68c2b097a822a13f0 (patch)
treea403aa6d7657fb25a26937c1deb7209866553c69 /docs/content
parent003f507de3a06314bba484d17659ca6728ebb884 (diff)
downloadbootstrap-54fba7cbe598b92e76d98ac68c2b097a822a13f0.tar.xz
bootstrap-54fba7cbe598b92e76d98ac68c2b097a822a13f0.zip
Rename .img-responsive class to .img-fluid
Fix #17166
Diffstat (limited to 'docs/content')
-rw-r--r--docs/content/images.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/images.md b/docs/content/images.md
index a72f0041b..6513bd18d 100644
--- a/docs/content/images.md
+++ b/docs/content/images.md
@@ -13,20 +13,20 @@ Opt your images into responsive behavior (so they never become larger than their
## Responsive images
-Images in Bootstrap are made responsive with `.img-responsive`. `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`. `max-width: 100%;` and `height: auto;` are applied to the image so that it scales with the parent element.
<div class="bd-example">
- <img data-src="holder.js/100%x250" class="img-responsive" alt="Generic responsive image">
+ <img data-src="holder.js/100%x250" class="img-fluid" alt="Generic responsive image">
</div>
{% highlight html %}
-<img src="..." class="img-responsive" alt="Responsive image">
+<img src="..." class="img-fluid" alt="Responsive image">
{% endhighlight %}
{% callout warning %}
#### SVG images and IE 9-10
-In Internet Explorer 9-10, SVG images with `.img-responsive` are disproportionately sized. To fix this, add `width: 100% \9;` where necessary. Bootstrap doesn't apply this automatically as it causes complications to other image formats.
+In Internet Explorer 9-10, SVG images with `.img-fluid` are disproportionately sized. To fix this, add `width: 100% \9;` where necessary. Bootstrap doesn't apply this automatically as it causes complications to other image formats.
{% endcallout %}
## Image shapes