From: Mark Otto Date: Mon, 29 Jul 2013 05:00:49 +0000 (-0700) Subject: add responsive images section to docs (fixes #8734) X-Git-Tag: v3.0.0~111 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0225c073a714c8172d6d59f9b21fc669f1cf747;p=thirdparty%2Fbootstrap.git add responsive images section to docs (fixes #8734) --- 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.

+
+