diff --git a/css-gap-decorations/burger-menu.html b/css-gap-decorations/burger-menu.html
index c7e8da6..f6af8d3 100644
--- a/css-gap-decorations/burger-menu.html
+++ b/css-gap-decorations/burger-menu.html
@@ -20,8 +20,8 @@
column-rule: 1.5px solid #ccc;
row-rule: 3px solid #000;
column-rule-break: intersection;
- column-rule-outset: -15px;
- row-rule-outset: -8px;
+ column-rule-inset: 15px;
+ row-rule-inset: 8px;
box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
max-width: 1000px;
diff --git a/css-gap-decorations/daily-css-news.html b/css-gap-decorations/daily-css-news.html
index ef11aa5..0bd2d6c 100644
--- a/css-gap-decorations/daily-css-news.html
+++ b/css-gap-decorations/daily-css-news.html
@@ -47,7 +47,7 @@
column-rule-width: 1px;
column-rule-style: solid;
column-rule-color: var(--accent);
- gap-rule-paint-order: column-over-row;
+ rule-overlap: column-over-row;
padding-bottom: 0.5rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
@@ -73,7 +73,7 @@
row-rule-width: 1px;
row-rule-style: solid;
row-rule-color: var(--rule);
- gap-rule-paint-order: row-over-column;
+ rule-overlap: row-over-column;
background: rgba(255, 255, 255, 0.1);
padding: 0.5rem 1rem;
border-radius: 4px;
@@ -98,9 +98,8 @@
grid-template-columns: 2fr 1fr;
gap: 2rem;
padding: 2rem;
- rule-width: 2px;
- rule-style: dashed;
- rule-color: var(--rule);
+ row-rule: 2px dashed var(--rule);
+ column-rule: 2px dashed var(--rule);
}
@media (max-width: 900px) {
@@ -137,7 +136,7 @@
column-rule-width: 1px;
column-rule-style: solid;
column-rule-color: var(--rule);
- gap-rule-paint-order: column-over-row;
+ rule-overlap: column-over-row;
margin: 0;
}
@@ -147,7 +146,7 @@
row-rule-width: 3px;
row-rule-style: solid;
row-rule-color: var(--rule);
- row-rule-outset: 0%;
+ row-rule-inset: 0;
column-count: 2;
column-gap: 1rem;
column-rule-width: 2px;
@@ -156,7 +155,7 @@
column-fill: auto;
column-height: 10em;
column-rule-break: intersection;
- column-rule-outset: -20px;
+ column-rule-inset: 20px;
}
.sidebar {
@@ -166,7 +165,7 @@
row-rule-width: 1px;
row-rule-style: dotted;
row-rule-color: var(--rule);
- gap-rule-paint-order: column-over-row;
+ rule-overlap: column-over-row;
}
.sidebar section {
@@ -196,13 +195,13 @@
display: grid;
grid-template-columns: repeat(9, 1fr);
gap: 6px;
- column-rule-width: repeat(2, 1px) 4px repeat(2, 1px) 4px repeat(2, 1px);
+ column-rule-width: repeat(2, 1px), 4px, repeat(2, 1px), 4px, repeat(2, 1px);
column-rule-style: solid;
column-rule-color: var(--secondary);
- row-rule-width: repeat(2, 1px) 4px repeat(2, 1px) 4px repeat(2, 1px);
+ row-rule-width: repeat(2, 1px), 4px, repeat(2, 1px), 4px, repeat(2, 1px);
row-rule-style: solid;
row-rule-color: var(--secondary);
- gap-rule-paint-order: row-over-column;
+ rule-overlap: row-over-column;
}
.sudoku .cell {
@@ -246,7 +245,7 @@
Gap Decorations Start Dev Trials
the highly anticipated Gap Decorations Module.
This early access program empowers front-end engineers to experiment with powerful new
properties—column-rule , row-rule , and
- gap-rule-paint-order —to style gaps in grid, flex, and multicol containers
+ rule-overlap —to style gaps in grid, flex, and multicol containers
without relying on additional markup or pseudo-elements. In these trials, participants can test
row-rule support in multicol layouts, leverage column-wrap
to achieve sophisticated magazine-style flows, and fine-tune separator styles across
@@ -276,7 +275,7 @@ Browser Support Expands
can safely adopt gap decorations in production, delivering consistent visual
experiences across platforms. Developers are encouraged to experiment with
combinations of column-rule , row-rule ,
- and paint-order options to craft unique layouts that were previously only
+ and overlap options to craft unique layouts that were previously only
achievable with complex workarounds.
diff --git a/css-gap-decorations/guitar-fretboard.html b/css-gap-decorations/guitar-fretboard.html
index bad8877..2d4a3fb 100644
--- a/css-gap-decorations/guitar-fretboard.html
+++ b/css-gap-decorations/guitar-fretboard.html
@@ -25,8 +25,8 @@
row-gap: var(--fret-width);
column-rule: var(--string-width) solid white;
row-rule: var(--fret-width) solid #737778;
- row-rule-outset: var(--space-around-neck);
- gap-rule-paint-order: column-over-row;
+ row-rule-inset: calc(-1 * var(--space-around-neck));
+ rule-overlap: column-over-row;
background-image:
radial-gradient(circle, white 0 calc(var(--space-between-strings) / 4), transparent 0),
diff --git a/css-gap-decorations/notebook.html b/css-gap-decorations/notebook.html
index 1515134..fe87151 100644
--- a/css-gap-decorations/notebook.html
+++ b/css-gap-decorations/notebook.html
@@ -24,7 +24,7 @@
grid-template-rows: repeat(30, 1fr);
gap: 2px;
- gap-rule-paint-order: column-over-row;
+ rule-overlap: column-over-row;
column-rule: solid black 1.5px;
column-rule-break: spanning-item;
row-rule:
@@ -137,8 +137,8 @@ New Properties & Behavior:
row-rule, column-rule to define width, style, and color of decorations.
Complex patterns with repeat().
gap-rule-break to control where decorations start/end.
- gap-rule-paint-order to define overlap order between row and column.
- gap-rule-outset to adjust start/end positions.
+ rule-overlap to define overlap order between row and column.
+ rule-inset to adjust start/end positions.
Summary:
diff --git a/css-gap-decorations/personal-site.html b/css-gap-decorations/personal-site.html
index ebc1710..603f44e 100644
--- a/css-gap-decorations/personal-site.html
+++ b/css-gap-decorations/personal-site.html
@@ -59,7 +59,7 @@
gap: 4rem;
row-rule: 2px solid #999;
column-rule: 2px solid #999;
- column-rule-outset: 0;
+ column-rule-inset: 0;
}
main>* {
diff --git a/css-gap-decorations/playground.html b/css-gap-decorations/playground.html
index 28de965..6383445 100644
--- a/css-gap-decorations/playground.html
+++ b/css-gap-decorations/playground.html
@@ -130,12 +130,12 @@
column-rule-width: 2px;
column-rule-style: solid;
column-rule-color: #555;
- column-rule-outset: 0px;
+ column-rule-inset: 0;
row-rule-width: 2px;
row-rule-style: dashed;
row-rule-color: #888;
- row-rule-outset: 0%;
- gap-rule-paint-order: column-over-row;
+ row-rule-inset: 0;
+ rule-overlap: column-over-row;
}
.multicol h3 {
@@ -169,12 +169,12 @@
row-rule-width: 4px;
row-rule-style: dotted;
row-rule-color: var(--flex-row-rule-color);
- row-rule-outset: 0%;
+ row-rule-inset: 0;
column-rule-width: 4px;
column-rule-style: dotted;
column-rule-color: var(--flex-col-rule-color);
- column-rule-outset: 0px;
- gap-rule-paint-order: row-over-column;
+ column-rule-inset: 0;
+ rule-overlap: row-over-column;
}
.flex-item {
@@ -208,12 +208,12 @@
row-rule-width: 3px;
row-rule-style: solid;
row-rule-color: var(--accent);
- row-rule-outset: 0%;
+ row-rule-inset: 0;
column-rule-width: 3px;
column-rule-style: solid;
column-rule-color: var(--grid-rule-color);
- column-rule-outset: 0px;
- gap-rule-paint-order: row-over-column;
+ column-rule-inset: 0;
+ rule-overlap: row-over-column;
}
.grid-item {
@@ -253,7 +253,7 @@ CSS Gap Decorations playground
This interactive demo showcases the features of the
CSS Gaps Decorations Module Level 1 .
- Use the controls to tweak gap, rule, and paint-order properties in real time
+ Use the controls to tweak gap, rule, and overlap properties in real time
and see how they affect grid , flex , and multicolumn layouts.
@@ -276,8 +276,8 @@
Grid Layout
Row-rule-width (px): 3
- Row-rule-outset (%): 0 %
- Row-rule-inset (%): 0 %
+
Row-rule-style:
@@ -296,8 +296,8 @@ Grid Layout
Column-rule-width (px): 3
- Column-rule-outset (px): 0
- Column-rule-inset (px): 0
+
Column-rule-style:
@@ -313,8 +313,8 @@ Grid Layout
intersection
spanning-item
- Gap-rule-paint-order:
-
+ Rule-overlap:
+
row-over-column
column-over-row
@@ -345,8 +345,8 @@ Flex Layout
Row-rule-width (px): 4
- Row-rule-outset (%): 0 %
- Row-rule-inset (%): 0 %
+
Row-rule-style:
@@ -359,8 +359,8 @@ Flex Layout
Column-rule-width (px): 4
- Column-rule-outset (px): 0
- Column-rule-inset (px): 0
+
Column-rule-style:
@@ -382,8 +382,8 @@ Flex Layout
intersection
spanning-item
- Gap-rule-paint-order:
-
+ Rule-overlap:
+
row-over-column
column-over-row
@@ -409,8 +409,8 @@ Multicolumn Layout
Column-rule-width (px): 2
- Column-rule-outset (px): 0
- Column-rule-inset (px): 0
+
Column-rule-style:
@@ -429,8 +429,8 @@ Multicolumn Layout
Row-rule-width (px): 2
- Row-rule-outset (%): 0 %
- Row-rule-inset (%): 0 %
+
Row-rule-style:
@@ -454,8 +454,8 @@ Multicolumn Layout
intersection
spanning-item
- Gap-rule-paint-order:
-
+ Rule-overlap:
+
column-over-row
row-over-column
@@ -464,15 +464,15 @@ Multicolumn Layout
Exploring Gap Decorations
Gap decorations provide a flexible way to visually separate content without extra markup. Columns adapt
dynamically to viewport size, maintaining readability.
- Use column-rule properties to style separators, control their outset, and define how they
+
Use column-rule properties to style separators, control their inset, and define how they
interact with multi-column spans.
“Effective gap decorations enhance layout clarity while preserving semantic structure.”
Adjust column-gap for spacing.
- Tweak column-rule-width and column-rule-outset .
+ Tweak column-rule-width and column-rule-inset .
Control break behavior with row-rule-break and column-rule-break .
- Combine with gap-rule-paint-order to layer rules in complex layouts.
+ Combine with rule-overlap to layer rules in complex layouts.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque nec est at dolor scelerisque elementum.
Mauris posuere, libero non suscipit consectetur, odio tortor vulputate mi, vitae consequat justo arcu non ex.
diff --git a/css-gap-decorations/the-daily-oddity.html b/css-gap-decorations/the-daily-oddity.html
index 429461a..17146c2 100644
--- a/css-gap-decorations/the-daily-oddity.html
+++ b/css-gap-decorations/the-daily-oddity.html
@@ -147,7 +147,7 @@
column-rule: 2px solid var(--text);
column-rule-break: intersection;
- column-rule-outset: 0;
+ column-rule-inset: 0;
row-rule: 2px solid var(--text);
}
@@ -249,7 +249,7 @@
grid-template-columns: 5fr 1fr;
grid-template-rows: min-content 1fr;
column-rule: 1px solid color-mix(in srgb, var(--back) 30%, var(--text));
- column-rule-outset: -0.5rem;
+ column-rule-inset: 0.5rem;
}
footer h3,