Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / CSS

column-rule-inset-start — offset the start of a rule

A CSS shorthand setting the start inset of column-rule segments, both at caps and at gap junctions.

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

Syntax

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

column-rule-inset-start sets both column-rule-inset-cap-start and column-rule-inset-junction-start. It controls decoration, not gap size or item positioning.

It accepts <length-percentage> or overlap-join. Positive values shorten the segment at its start; negative values extend it. Percentages use the crossing gap width, not rule length; at container edges the basis is zero.

overlap-join extends junction segments by half the crossing gap width plus half its rule width; at caps it acts as 0. The underlying properties initially have 0 and are not inherited.

This is a CSS draft definition. The example needs local verification; the Chromium 152 gate does not establish rendering support.

Examples

<!doctype html>
<meta charset="utf-8">
<title>column-rule-inset-start</title>
<style>
.demo {
  writing-mode: horizontal-tb;
  display: grid;
  grid-template-columns: 100px 100px;
  gap: 20px;
  width: 220px;
  column-rule: 4px solid black;
  column-rule-inset-start: 16px;
  column-rule-inset-end: 0px;
}
.demo > div {
  height: 100px;
  background: #ddd;
}
</style>
<div class="demo"><div></div><div></div></div>

Result

Expected with rendering support: two 100px × 100px gray squares separated by a 20px gap. A centered black rule is 4px wide, starts 16px below the top, and ends at the bottom; its length is 84px.

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