diff options
| author | Mark Otto <[email protected]> | 2015-09-02 00:33:26 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-09-02 00:33:26 -0700 |
| commit | 5fc4b3534989c1ea14c12c71ee08f88fd2bb22e9 (patch) | |
| tree | a5d6350a19ac862404ad80a2c44fea85dcdd0f2f /docs/content | |
| parent | 0c0f675b941f95f49ea24beb58eb2ee428c4c004 (diff) | |
| parent | 54fba7cbe598b92e76d98ac68c2b097a822a13f0 (diff) | |
| download | bootstrap-5fc4b3534989c1ea14c12c71ee08f88fd2bb22e9.tar.xz bootstrap-5fc4b3534989c1ea14c12c71ee08f88fd2bb22e9.zip | |
Merge pull request #17168 from kkirsche/patch-19
v4 - Rename .img-responsive class to .img-fluid
Diffstat (limited to 'docs/content')
| -rw-r--r-- | docs/content/images.md | 8 |
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 |
