Depending on the context, display: contents may be a viable workaround for display: subgrid .
From caniuse : (bold mines)
display: contents causes the children to appear as if they were direct children of the parent element, ignoring the element itself. This can be useful when a wrapper element should be ignored when using a CSS grid or similar layout methods.
The big win here is that we can save our current markup, which groups each row of data, while keeping the components of each row synchronized together, because they are part of only one CSS grid - the grid container.
Currently, browser support for display: contents limited to firefox and Chrome beyond the flag.
As for your Codepen sample, it looks like we can use display: contents to implement what you wanted:
1) Moving the properties of the grid container in the globalWrapper div and
#globalWrapper { display: grid; grid-template-columns: 1fr 1fr max-content; grid-gap: 3px; }
2) setting divWrapper line with display: contents
.rowWrapper { display: contents; }
source share