diff options
| author | Alexandr Kondrashov <[email protected]> | 2015-09-11 16:43:00 +0300 |
|---|---|---|
| committer | Alexandr Kondrashov <[email protected]> | 2015-09-11 16:43:00 +0300 |
| commit | c9725926b2f30bed4e37f57c20ef8ffeb2fd233b (patch) | |
| tree | 2964ad7556549dd3e0712bdfdbc5fc4ae7a9b45f /docs/content/images.md | |
| parent | 353e0a49a97c24d89f6cdb95014419d4137dee6e (diff) | |
| parent | b811f8cf9628dbcbfe994f71588c5a0c921a092d (diff) | |
| download | bootstrap-c9725926b2f30bed4e37f57c20ef8ffeb2fd233b.tar.xz bootstrap-c9725926b2f30bed4e37f57c20ef8ffeb2fd233b.zip | |
Merge remote-tracking branch 'twbs/v4-dev' into patch-1
Conflicts:
scss/_custom-forms.scss
scss/_variables.scss
Diffstat (limited to 'docs/content/images.md')
| -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..1f9abc982 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/100px250" 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 |
