Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / CSS

column-rule-inset-junction-end — rule ends at junctions

Controls the end inset of a column-rule segment at a junction with other painted segments.

Version: CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required

Syntax

column-rule-inset-junction-end: <length-percentage> | overlap-join;

column-rule-inset-junction-end offsets a segment’s end at a junction touched by other painted segments. It affects neither starts nor cap endpoints. Positive values shorten the segment; negative values extend it. Percentages reference the crossing gap width.

Initially 0 and not inherited, it applies to grid, flex, multicol and grid lanes containers. It accepts <length-percentage> or overlap-join, which extends by half the crossing gap width plus half its rule thickness. It changes decoration, not layout. This is a draft feature; Chromium 152 scope does not replace local verification.

Examples

<!doctype html>
<meta charset="utf-8">
<title>column-rule-inset-junction-end</title>
<style>
  .grid {
    display: grid;
    grid-template-columns: repeat(2, 80px);
    grid-template-rows: repeat(2, 60px);
    gap: 24px;
    width: max-content;
    writing-mode: horizontal-tb;
    column-rule: 4px solid navy;
    row-rule: 4px solid crimson;
    column-rule-break: intersection;
    column-rule-inset-junction-end: 8px;
  }
  .grid > div { background: #eee; }
</style>
<div class="grid">
  <div>A</div><div>B</div><div>C</div><div>D</div>
</div>

Result

With the required features implemented, four cells form a 2×2 grid. A navy column rule and a crimson row rule occupy the gaps. The upper navy segment ends 8px before the upper edge of the crossing row gap; the lower segment's start and the outer endpoints retain their default insets.

The displayed code and declared result were verified in an isolated environment using the method recorded in the verification evidence for this exact version.

Sources