DEV Community

Discussion on: A Grid In A Grid

Collapse
 
mshajid profile image
mshajid

what type of use we have with grid anď sub grid? can you please explain?

Collapse
 
kotzendekrabbe profile image
Feli (she/her)

not sure if I got your question correctly, but overall it's that you want to get the same dimensions of the grid for a nested grid without a workaround. for example you want the same gutter size without defining it again.

for more detail I really recommend the talk from Rachel Andrew "Hello subgrid" from CSSconf EU 2019 - youtube.com/watch?v=vxOj7CaWiPU

If you prefer to read, she has a very good news and demos page about subgrid: rachelandrew.co.uk/archives/2019/0...

Does that help? otherwise could you please rephrase your question? :)

Collapse
 
mshajid profile image
mshajid

Thanks, feli for the explanation and resources <3