GithubHelp home page GithubHelp logo

lvl 28 about gridgarden HOT 8 OPEN

thomaspark avatar thomaspark commented on May 2, 2024
lvl 28

from gridgarden.

Comments (8)

jaugustodafranca avatar jaugustodafranca commented on May 2, 2024 10

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

from gridgarden.

druvisc avatar druvisc commented on May 2, 2024 10

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

from gridgarden.

huanghe2015 avatar huanghe2015 commented on May 2, 2024

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

from gridgarden.

gulzaryousaf avatar gulzaryousaf commented on May 2, 2024

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.

from gridgarden.

Mykhailo-Bondarenko avatar Mykhailo-Bondarenko commented on May 2, 2024

grid-template: 518px/ 20% 80%

from gridgarden.

BorisGaliano avatar BorisGaliano commented on May 2, 2024

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

from gridgarden.

Nevin06 avatar Nevin06 commented on May 2, 2024

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

from gridgarden.

adelhussam avatar adelhussam commented on May 2, 2024

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

from gridgarden.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.