CSS Grid - Span
I'm very confused with this example... span 3 / 5, but I wonder if my answer is correct and I'm just not finding the right answer when googling..so I'm then unsure 😄
I see this as... span 3 columns, end on the 5th, so it'll span 3 columns from the 5th line, back to the start?
4 Replies
think they are looking for
grid-column: 2 / span 3
so start at 2, span 3 for the endI didn't know you could do that, but that seems like it, thanks! 🙂
just thinking, your solution would be correct as well.
the end is set to 5 and the start span 3 from that.
but for me that is less readable
I agree, I was throwing numbers out there until it worked. 2 / span x makes more sense, as I see the first number as the starting point.