mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01: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
@ -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…
x
Reference in New Issue
Block a user