Skip to content

Commit fb17ffc

Browse files
committed
[css-gaps-1] Add example of rule-break: intersection in multicol. #13135
1 parent 3e613f3 commit fb17ffc

3 files changed

Lines changed: 22 additions & 1 deletion

File tree

css-gaps-1/Overview.bs

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,9 @@ To <dfn>apply offsets to a segment </dfn> for a given segment |s| = [|start|, |e
774774
<div class="example">
775775
<pre>
776776
.break-normal-multicol {
777-
gap: 10px;
777+
column-width: 150px;
778+
column-height: 300px;
779+
gap: 1em;
778780
row-rule: 4px solid red;
779781
column-rule: 4px solid blue;
780782
rule-break: normal;
@@ -790,6 +792,25 @@ To <dfn>apply offsets to a segment </dfn> for a given segment |s| = [|start|, |e
790792
</figure>
791793
</div>
792794

795+
<div class="example">
796+
<pre>
797+
.break-intersection-multicol {
798+
column-width: 150px;
799+
column-height: 300px;
800+
gap: 1em;
801+
row-rule: 4px solid red;
802+
column-rule: 4px solid blue;
803+
rule-break: intersection;
804+
}
805+
</pre>
806+
<figure>
807+
<img alt="" src="images/example-break-intersection-multicol.png">
808+
<figcaption>
809+
Multicol <a>gap decorations</a> with rule-break set to ''intersection''.
810+
</figcaption>
811+
</figure>
812+
</div>
813+
793814
<div class="example">
794815
<pre>
795816
.break-none-flex {
230 KB
Loading
86.5 KB
Loading

0 commit comments

Comments
 (0)