I want an item to start at the first column and end at the last column, no matter how many columns there are.
It should work like this:
item {
grid-column-start: 1;
grid-column-end: -1;
}
Contributes the nth grid line to the grid item’s placement. If a negative integer is given, it instead counts in reverse, starting from the end edge of the explicit grid.
So this would only work on explicit grids? Why shouldn't it work on implicit grids?
See Question&Answers more detail:os