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.
Am I missing something? Isn’t this just
<table>
?Similar but different, this blog post goes into more detail: Are nested grids like nested tables?
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.