mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-20 17:54:23 +01: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
13
docs/assets/css/bootstrap.css
vendored
13
docs/assets/css/bootstrap.css
vendored
@ -322,7 +322,6 @@ a:focus {
|
|||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: auto\9;
|
|
||||||
height: auto;
|
height: auto;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
@ -1226,12 +1225,6 @@ label {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="search"] {
|
|
||||||
-webkit-box-sizing: border-box;
|
|
||||||
-moz-box-sizing: border-box;
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
select,
|
select,
|
||||||
textarea,
|
textarea,
|
||||||
input[type="text"],
|
input[type="text"],
|
||||||
@ -1282,6 +1275,12 @@ input[type="checkbox"] {
|
|||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input[type="search"] {
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
|
-moz-box-sizing: border-box;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
textarea {
|
textarea {
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
@ -71,7 +71,6 @@ a:focus {
|
|||||||
img {
|
img {
|
||||||
// Responsive images (ensure images don't scale beyond their parents)
|
// Responsive images (ensure images don't scale beyond their parents)
|
||||||
max-width: 100%; // Part 1: Set a maxium relative to the parent
|
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
|
height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching
|
||||||
|
|
||||||
// Match vertical alignment with other comment elements
|
// Match vertical alignment with other comment elements
|
||||||
|
Loading…
x
Reference in New Issue
Block a user