Bootstrap responsive image

From Wiki @ Karl Jones dot com
Revision as of 17:53, 21 April 2016 by Karl Jones (Talk | contribs) (Example)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In Bootstrap, you make an image responsive by adding the img-responsive class.

Example

<img src="image.jpg" alt="example" class="img-responsive" />

The image will expand to fit the available space, up to the full image size.

See also