网格中行的不同高度

Different height of rows in grid

提问人:Maciej Górecki 提问时间:10/23/2023 更新时间:10/23/2023 访问量:16

问:

当我的行高度不同时,如何在 div 之间留出相同的间隙?

在此处输入图像描述

我尝试使用:grid-template-rows:砌体;grid-template-columns:砌体;和 grid-auto-rows: min-content;但它不起作用

网格 高度

评论


答: 暂无答案