Search code examples
csscss-grid

Add a rule between CSS grid columns and rows


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?


Solution

  • 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 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.