How to stretch last grid item across full width of screen, when it goes to new row?

前端 未结 0 1118
长情又很酷
长情又很酷 2020-12-19 20:49

I have:

display: grid;
grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
gap: 1rem;

When there is not enough space to fit all thre

相关标签:
回答
  • 消灭零回复
提交回复
热议问题