mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
docs note
This commit is contained in:
parent
dc835db51c
commit
aee20f7ffc
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue