Skip to content

Commit 26097bd

Browse files
author
Ogbemi mene
committed
my experimented css
1 parent 0720256 commit 26097bd

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Wireframe/Untitled-1.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,10 @@ article {
5050
grid-column: span 2;
5151
}
5252

53-
article img {
54-
width: 100%;
53+
article img {max-width: 100%;
54+
height: auto;
5555
object-fit: cover;
56+
display: block;
5657
border-radius: 8px;
5758
margin-bottom: 16px;
5859
}

0 commit comments

Comments
 (0)