在CSS网格列和行之间添加规则 [英] Add a rule between CSS grid columns and rows
问题描述
是否存在css网格属性以相同或相似的方式在网格列之间添加规则(垂直线),并在网格行之间添加规则(水平线)?
Is there a css grid property to add a rule (vertical line) between grid columns, and a rule (horizontal line) between grid rows, in the same way, or similar, that column-rule works?
我在规范中看不到它,但是也许我遗漏了一些东西,或者也许正在开发中?
I can’t see it in the spec but perhaps I’m missing something or perhaps there’s something in development?
推荐答案
是否存在css网格属性以相同或相似的方式在网格列之间添加规则(垂直线),并在网格行之间添加规则(水平线)?
Is there a css grid property to add a rule (vertical line) between grid columns, and a rule (horizontal line) between grid rows, in the same way, or similar, that column-rule works?
否
没有这样的属性.
NO
There is no such property.
CSS网格行和列完全是 virtual ,并且仅指示浏览器布局引擎各自区域的起点和终点.
CSS Grid rows and columns are entirely virtual and only indicate the start and end point of their respective areas for the browser's layout engine.
这篇关于在CSS网格列和行之间添加规则的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!