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
b1mind
b1mind4w ago
Because of start and end of rows and columns
Jochem
Jochem4w ago
| | |
| | |
^ 2 cells, defined by 3 lines
b1mind
b1mind4w ago
When you visualize it in dev tools it makes sense
Faker
FakerOP4w ago
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?
Jochem
Jochem4w ago
yes

Did you find this page helpful?