mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Merge pull request #3842 from alienlebarge/2.1.0-wip
<img /> tag with `height` attr are not responsive
This commit is contained in:
commit
cf70fb629f
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@ sub {
|
||||||
|
|
||||||
img {
|
img {
|
||||||
max-width: 100%; // Make images inherently responsive
|
max-width: 100%; // Make images inherently responsive
|
||||||
|
height: auto; // Make images inherently responsive
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
border: 0;
|
border: 0;
|
||||||
-ms-interpolation-mode: bicubic;
|
-ms-interpolation-mode: bicubic;
|
||||||
|
|
Loading…
Reference in a new issue