Center a statically specified image.
This commit is contained in:
1 parent
26c9d739b1
commit
2291bcbaee
1 file changed
+3
-2
+3
-2
@@ -1,5 +1,6 @@
|
||||
img {
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
margin: auto;
|
||||
object-fit: scale-down;
|
||||
}
|
||||
Reference in new issue
Block a user