Grid lines in grid being greater than actual number of rows and cols
Hello, can someone explain why in display of grid, the grid lines are always 1 greater than actual number of rows and columns. For instance, if we have 3 rows, then grid line number for rows is 4 and if we have 2 columns, grid line number for columns is 3.
5 Replies
Because of start and end of rows and columns
^ 2 cells, defined by 3 lines
When you visualize it in dev tools it makes sense
yeah you are right, in order to make 2 columns, we need 3 grid lines, basically a grid line is where a column/row start or where it ends as mentioned above?
yes