Skip to content

Commit a84fdf3

Browse files
committed
position images
1 parent 48d5a42 commit a84fdf3

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

Wireframe/style.css

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,15 @@ article {
7070
grid-column: span 3;
7171
}
7272
}
73-
img {
74-
grid-row: 1;
73+
.image-row {
74+
display: grid;
75+
grid-template-columns: 1fr 1fr;
76+
gap: var(--space);
77+
}
78+
79+
.image-row img {
80+
width: 100%;
81+
height: auto;
82+
object-fit: cover;
7583
}
7684

0 commit comments

Comments
 (0)