Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grid Garden Level 26 #170

Open
lovercoder1 opened this issue Apr 16, 2023 · 3 comments
Open

Grid Garden Level 26 #170

lovercoder1 opened this issue Apr 16, 2023 · 3 comments

Comments

@lovercoder1
Copy link

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;

@Spanioulis
Copy link

Thanks! 👌

@BingeCode
Copy link

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

@furnivall
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants