Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / CSS

column-rule-inset-end — offset rule endpoints

A CSS shorthand that offsets the end endpoints of column-gap decorations, covering both caps and 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-end: <length-percentage> | overlap-join;

column-rule-inset-end sets both column-rule-inset-cap-end and column-rule-inset-junction-end. Both initially have 0 and are not inherited. It does not change start endpoints.

Positive lengths shorten the rule; negative lengths extend it. Percentages use the crossing gap width; at container edges the basis is zero. overlap-join extends a junction by half that width plus half the crossing rule thickness; at a cap it acts as 0.

This is a draft-specification feature. Do not assume Chromium 152 support without checking the example's rendering.

Examples

<!doctype html>
<meta charset="utf-8">
<title>column-rule-inset-end</title>
<style>
  .columns {
    writing-mode: horizontal-tb;
    width: 240px;
    height: 100px;
    column-count: 2;
    column-gap: 24px;
    column-rule: 2px solid blue;
    column-rule-inset-end: 20px;
  }
  .item { height: 100px; background: #eee; }
</style>
<div class="columns">
  <div class="item">A</div>
  <div class="item">B</div>
</div>

Result

Expected with support: two gray columns separated by a blue rule whose bottom endpoint is 20px above the container bottom; its top endpoint is unchanged.

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