mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-30 22:52:24 +01:00
docs note
This commit is contained in:
parent
dc835db51c
commit
aee20f7ffc
@ -7,7 +7,7 @@ Opt your images into responsive behavior (so they never become larger than their
|
||||
|
||||
## Responsive images
|
||||
|
||||
Images in Bootstrap are responsive by default. `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-responsive`. `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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user