Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions CSSGapDecorations/explainer.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,33 @@ into the intersection and negative values receding from it.
```
<image src="images/example-column-outset-minus-5px.png">

Authors may also adjust endpoints more granularly, making a distinction between "edge"
endpoints (which fall on the edge of the container),
and "interior" endpoints (any endpoint that is not an "edge").

```css
.edge-interior-outsets {
column-rule-edge-outset: 0px;
column-rule-interior-outset: 5px;
}
```

<image src="images/example-column-interior-outset-5px.png">

Similarly, authors can have even more granular control to adjust the positions of endpoints,
making a distinction between "start" and "end" endpoints, in addition to the "edge" and "interior" distinction.

```css
.start-end-edge-interior-outsets {
column-rule-start-edge-outset: 0px;
column-rule-end-edge-outset: 8px;
column-rule-start-interior-outset: 0px;
column-rule-end-interior-outset: 8px;
}
```

<image src="images/example-column-start-end-edge-interior-outsets.png">

### Interaction with spanning items

Authors may also change the set of intersections where gap decorations break,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.