Can grid-row-gap / grip-column-gap be overridden for a single gutter?

淺唱寂寞╮ 提交于 2019-11-30 17:26:31

The grid-row-gap and grid-column-gap properties apply to the entire grid (spec reference).

However, you can use negative margins on the second row grid items to adjust their position.

Another option would be to remove the top row (headers) from the current grid and place it in a different container directly above the data. This would eliminate the grid-gap problem.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!