mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-30 22:52:24 +01:00
commit
5c9bd469ae
@ -27,7 +27,7 @@ body {
|
|||||||
background-color: @body-bg;
|
background-color: @body-bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reset fonts for revelant elements
|
// Reset fonts for relevant elements
|
||||||
input,
|
input,
|
||||||
button,
|
button,
|
||||||
select,
|
select,
|
||||||
@ -60,7 +60,7 @@ 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 maximum relative to the parent
|
||||||
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