gridgarden icon indicating copy to clipboard operation
gridgarden copied to clipboard

Grid Garden Level 26

Open lovercoder1 opened this issue 1 year ago • 3 comments

The exercise told us that there should be 5line and the water starts at line 5th it remains four first lines they shouldn't be sprayed by water with 50px height so we divided 50 by 4 then we get 12.5 px each four first lines and we add 1fr to unify the garden, so the solution is:

grid-template-rows: repeat(4, 12.5px) 1fr;

lovercoder1 avatar Apr 16 '23 17:04 lovercoder1

Thanks! 👌

Spanioulis avatar Jan 11 '24 18:01 Spanioulis

grid-template-rows: repeat(4, 12.5px) 100%; should be a solution as well, no?

BingeCode avatar Mar 29 '24 12:03 BingeCode

I may be misunderstanding, but why isn't the following an acceptable answer? grid-template-rows: 50px 0% 0% 0% 100%;

furnivall avatar Jun 03 '24 12:06 furnivall