mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
IE8 doesn't need help with responsive images, they work just dandy apparently (see http://jsbin.com/idesit/1)
This commit is contained in:
parent
eefddb1eab
commit
86bb3b8126
2 changed files with 6 additions and 8 deletions
13
docs/assets/css/bootstrap.css
vendored
13
docs/assets/css/bootstrap.css
vendored
|
@ -322,7 +322,6 @@ a:focus {
|
|||
}
|
||||
|
||||
img {
|
||||
width: auto\9;
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
vertical-align: middle;
|
||||
|
@ -1226,12 +1225,6 @@ label {
|
|||
font-weight: bold;
|
||||
}
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
select,
|
||||
textarea,
|
||||
input[type="text"],
|
||||
|
@ -1282,6 +1275,12 @@ input[type="checkbox"] {
|
|||
width: auto;
|
||||
}
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
textarea {
|
||||
height: auto;
|
||||
}
|
||||
|
|
|
@ -71,7 +71,6 @@ a:focus {
|
|||
img {
|
||||
// Responsive images (ensure images don't scale beyond their parents)
|
||||
max-width: 100%; // Part 1: Set a maxium relative to the parent
|
||||
width: auto\9; // IE8 need help adjusting responsive images
|
||||
height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching
|
||||
|
||||
// Match vertical alignment with other comment elements
|
||||
|
|
Loading…
Reference in a new issue