HTML & CSS · Middle · Question 54 of 75
What does grid-auto-flow: dense do?
- ✓Correct answer: Fills earlier gaps with later smaller items, so the visual order can differ from the DOM order
- 2Removes
gapbetween grid items - 3Makes all rows the same height
Explanation
It is handy for galleries with items of different spans. Like order, it can break the correspondence between visual and keyboard order.