gridgarden icon indicating copy to clipboard operation
gridgarden copied to clipboard

Level 5, description is wrong

Open Aksana-Tsishchanka opened this issue 8 years ago • 1 comments

Hi, I think task is incorrect due to description which says about negative values, nevertheless grid-column-start begins from 1. And grid-column-end: 5.

Aksana-Tsishchanka avatar May 16 '17 18:05 Aksana-Tsishchanka

Hi Aksana, it's true that for normal use of these properties, values range from 1 to 5. However, a neat thing about grid is that they also accept negative values, which count the grid lines from the right side instead of the left.

grid-column-start: 1; counts the first grid line from the left.

grid-column-start: -1; counts the first grid line from the right.

Other negative values work in a similar way. Hope that helps.

thomaspark avatar May 16 '17 21:05 thomaspark