you are viewing a single comment's thread
view the rest of the comments
[–] [S] 1 point 1 year ago (1 child)

Similar but different, this blog post goes into more detail: Are nested grids like nested tables?

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 1 year ago

    But this isn't a nested table or grid. It's just a grid.. and just a table. I know how css grid works, quite well actually, it's one of the parts of css I'm actually best at. This is just a simple table though. You would get the alignment out of the box by just using table cells. Unless I'm missing something this isn't an actual use case for subgrid. Subgrid is more useful when you have something that needs to align to the parent when the rest of the content didn't need to align to the parent.

  • source
  • parent