thomaspark / gridgarden

A game for learning CSS grid layout 🥕
https://cssgridgarden.com
MIT License
3.21k stars 305 forks source link

Level 6, Negative values offset by one. #96

Open verioussmith opened 5 years ago

verioussmith commented 5 years ago

I believe the negative values on Level 6 are off by one. The value of Negative one (-1) causes the poison to be off the screen. The value of negative two (-2) causes the poison to be on the first block from the right. This seems inconsistent. Am I wrong?

yatoogamii commented 5 years ago

With the grid-columns-start values you don't count the cells ( inside a column) you count where you will start from which column row it will start

example for exercice level 6, you must put the value -3 because it is the column between the line of the column -3 and -2 that you will select

Look here for more details https://www.w3.org/TR/css3-grid-layout/#line-placement.