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

lvl 28 #110

Open
illya-onyshchuk opened this issue Jul 11, 2019 · 10 comments
Open

lvl 28 #110

illya-onyshchuk opened this issue Jul 11, 2019 · 10 comments

Comments

@illya-onyshchuk
Copy link

why not working?
grid-template: repeat(2, 610px)/ 21% 80%

@jaugustodafranca
Copy link

Hi @Illafantoms , let my try help you.

The level 28 have the description:
our garden is looking great. Here you've left a 50 pixel path at the bottom of your garden and filled the rest with carrots.

See my solution: grid-template: 1fr 50px / 1fr 4fr;

The first part (1fr 50px) is reference to your rows, with this u will have 2 rows, one with 1fr and the last with 50px.
The second part is reference to your columns, so u will have 2 columns, one with 1fr and the other with 4fr.

https://uploaddeimagens.com.br/imagens/screen_shot_2019-07-17_at_15-13-50-png

@huanghe2015
Copy link

huanghe2015 commented Sep 7, 2019

On row side, you need to occupy all of the space before required remaining 50px. The column side is having a little problem percentage.

@druvisc
Copy link

druvisc commented Sep 25, 2019

grid-template: 1fr 50px / 20% 1fr;

@gulzaryousaf
Copy link

gulzaryousaf commented Jan 13, 2020

1fr 50px / 20% 1fr;

i ended up with this dumb solution which actually worked!
grid-template: repeat(2, calc(100% - 50px)) / 20% 80%;

but your solution seems fine to me.

@Mykhailo-Bondarenko
Copy link

grid-template: 518px/ 20% 80%

@BorisGaliano
Copy link

the answer is grid-template:1fr 50px /20% 1fr

@Nevin06
Copy link

Nevin06 commented May 20, 2023

the answer is grid-template: 1fr 50px / 20% 80%;

@adelhussam
Copy link

grid-template: 1fr 50px/ 1fr 80%;

@grualek
Copy link

grualek commented Oct 26, 2024

Solution: grid-template: 1fr 0 0 0 50px / 20% 1fr;

@Chick25
Copy link

Chick25 commented Nov 2, 2024

i try with grid-template: 92% 18%/20% 4fr and the solution is same, why my css not work. Can someone explain..

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