Structure: Limit <img> elements to 100% of their container
Set max-width to 100%.
This commit is contained in:
parent
b4148c3584
commit
c878427e2e
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ figure, img {
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
|
max-width: 100%;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue