Reputation: 127
I am trying to do make a text and image overlay with a 3x3 grid, and I have it how I want it, but the image starts on the column line 2 and I want it to end on the column line 4 and have the extra space on the other side.
.banner-img {
grid-column: 2 / 4;
grid-row: 1 / 4;
}
.banner-text {
grid-column: 1 / 3;
grid-row: 2 / 3;
z-index: 1;
}
Upvotes: 1
Views: 135