Center a statically specified image.
This commit is contained in:
+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