Commit 8cda830e authored by Mark Otto's avatar Mark Otto
Browse files

fixes #4146: IE7-8 responsive image helper

parent f2512936
Showing with 2 additions and 0 deletions
+2 -0
...@@ -67,6 +67,7 @@ sub { ...@@ -67,6 +67,7 @@ sub {
} }
img { img {
width: auto\9;
height: auto; height: auto;
max-width: 100%; max-width: 100%;
vertical-align: middle; vertical-align: middle;
......
...@@ -78,6 +78,7 @@ sub { ...@@ -78,6 +78,7 @@ sub {
img { img {
max-width: 100%; // Make images inherently responsive max-width: 100%; // Make images inherently responsive
width: auto\9; /* IE7-8 need help adjusting responsive images */
height: auto; // Make images inherently responsive height: auto; // Make images inherently responsive
vertical-align: middle; vertical-align: middle;
border: 0; border: 0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment