我如何不必为网格 - 板块列编写20次自动
嘿,我不确定我应该在哪里问这个问题,而是基本上是在蚀刻绘制素描和我的原始16x16网格上。我使用了显示:网格;和网格 - 板块柱,并撰写了16次自动。这确实做到了,但是我猜想当您有90x90的网格有任何技巧时,这不是要走的路吗?
Hey all not to sure where I should ask this question but basically Im working on Etch a Sketch and for my original 16x16 grid. I used display:grid; and grid-template-columns and wrote auto 16 times. This did the trick but Im guessing its not the way to go when you have a grid that 90x90 Any tips?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用
重复()
函数:也可用于
网格 - 板条行
。参考:
重复() 。
Use the
repeat()
function:This can be used for
grid-template-rows
also.References:
repeat()
.我认为这就是您要寻找的:
I think this is what you are looking for: