skip to Main Content

Use css subgrid with automatic column spans

I have the following html structure. <div class="grandparent"> <div class="parent"> <div class="achild2">Child 2</div> <div class="achild2">Child 2</div> <div class="achild2">Child 2</div> <div class="achild2">Child 2</div> <div class="achild2">Child 2</div> <div class="achild2">Child 2</div> </div> <div class="achild1">Child 1</div> </div> .parent { display: grid; grid-template-columns: subgrid; grid-column:…

VIEW QUESTION

CSS subgrid buggy in Chrome?

I have a css grid with subgrid. If i limit the subgrids height height of the original grid doesn't shrink. This is only in Chrome. Firefox and Safari work as expected. Here is a Codepen of my minimal reproducing code.…

VIEW QUESTION
Back To Top
Search