Table striping rows in CSS Grid
问题 I'm trying to replace a grid of data & interactive components that had been set up in Bootstrap with a CSS Grid-based layout. I was able to replicate the grid, but am having trouble getting something like table striping working.From what I understand of CSS Grid, since I know the number of columns that will be displayed ahead of time but not the number of rows (dynamically generated data from the server), I need to use grid-template-columns: repeat(3, auto); , and each cell must be a direct