From b0225c073a714c8172d6d59f9b21fc669f1cf747 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 28 Jul 2013 22:00:49 -0700 Subject: [PATCH] add responsive images section to docs (fixes #8734) --- css.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/css.html b/css.html index 60a5c8d6a6..095be1deb1 100644 --- a/css.html +++ b/css.html @@ -29,6 +29,12 @@ base_url: "../"

To ensure proper rendering and touch zooming, add the viewport meta tag to your <head>.

{% highlight html %} +{% endhighlight %} + +

Responsive images

+

Images in Bootstrap 3 can be made responsive-friendly via the addition of the .img-responsive class. This applies max-width: 100%; and height: auto; to the image so that it scales nicely to the parent element.

+{% highlight html %} +Reponsive image {% endhighlight %} @@ -1778,6 +1784,11 @@ For example, <section> should be wrapped as inline. {% endhighlight %} +
+

Responsive images

+

Looking for how to make images more responsive? Check out the responsive images section up top.

+
+