The rule-break (axis-neutral) property controls whether gap rules start or end at junctions between gap areas. Applies to column-rule-break and row-rule-break simultaneously..grid {
rule-break: intersection;
}.grid {
display: grid;
rule: 1px solid silver;
rule-break: intersection;
}noneGap rules do not start or end at junctions — they cross through them.normalDefault. Behavior depends on container type.intersectionGap rules start and end at every visible T or cross intersection.CSS Gaps Module Level 1Editor's DraftW3C
In the beginning God created the heavens and the earth.
Now the earth was formless and empty, darkness was over the surface of the deep, and the Spirit of God was hovering over the waters.
And God said, “Let there be light,” and there was light.
God saw that the light was good, and he separated the light from the darkness.
God called the light “day,” and the darkness he called “night.” And there was evening, and there was morning—the first day.
And God said, “Let there be a vault between the waters to separate water from water.”
So God made the vault and separated the water under the vault from the water above it. And it was so.
God called the vault “sky.” And there was evening, and there was morning—the second day.
Show all codeEdit CSS onlineThe plugin that remembers hundreds of CSS items for youEvery CSS property — in a live demonstrationThe bilingual CSS referencedefinitionexamplessyntaxmodulespecificationsourcesvisual demonstrationpreviousnext