aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/css/images.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-07-07 17:26:52 -0700
committerMark Otto <[email protected]>2014-07-07 17:26:52 -0700
commit4f5efb84c9e81120b26949cecc626ae866fef46a (patch)
tree99f79657f630dfa5ff03adf1d53ef1c1235c63a7 /docs/_includes/css/images.html
parentc769d7c21ff50d3cf2b3a9a97f0627d401e11f95 (diff)
downloadbootstrap-4f5efb84c9e81120b26949cecc626ae866fef46a.tar.xz
bootstrap-4f5efb84c9e81120b26949cecc626ae866fef46a.zip
Part 2 for fixing #13996: Add a docs callout to help folks using SVG images in IE8-10
Diffstat (limited to 'docs/_includes/css/images.html')
-rw-r--r--docs/_includes/css/images.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/_includes/css/images.html b/docs/_includes/css/images.html
index 4e0fc4a77..78f4c65b8 100644
--- a/docs/_includes/css/images.html
+++ b/docs/_includes/css/images.html
@@ -3,6 +3,10 @@
<h2 id="images-responsive">Responsive images</h2>
<p>Images in Bootstrap 3 can be made responsive-friendly via the addition of the <code>.img-responsive</code> class. This applies <code>max-width: 100%;</code> and <code>height: auto;</code> to the image so that it scales nicely to the parent element.</p>
+ <div class="bs-callout bs-callout-warning">
+ <h4>SVG images and IE 8-10</h4>
+ <p>In Internet Explorer IE 8-10, SVG images with <code>.img-responsive</code> are disproportionately sized. To fix this, add <code>width: 100% \9;</code> where necessary. Bootstrap doesn't apply this automatically as it causes complications to other image formats.</p>
+ </div>
{% highlight html %}
<img src="..." class="img-responsive" alt="Responsive image">
{% endhighlight %}