Restrict media to the size of its container.
This commit is contained in:
parent
69729bd329
commit
db21bd8a55
@ -270,4 +270,11 @@ body {
|
|||||||
b {
|
b {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Never have media larger than its container */
|
||||||
|
img,
|
||||||
|
picture,
|
||||||
|
video {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user