Skip to content

Commit ed5c925

Browse files
author
howcome
committed
fixing typos, revising examples
1 parent 531f95e commit ed5c925

1 file changed

Lines changed: 15 additions & 7 deletions

File tree

css-multicol/Overview.src.html

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -824,13 +824,13 @@ <h3>Pseudo-algorithm</h3>
824824
<p>In this example, the actual column-count is higher than the used column-count due to explicit column breaks:
825825

826826
<pre>
827-
div { width: 40em; columns: 20em }
827+
div { width: 40em; columns: 20em; column-gap: 0 }
828828
p { break-after: column }
829829

830-
&lt;div style="width: 40em; columns: 20em">
831-
&lt;p>one
832-
&lt;p>two
833-
&lt;p>three
830+
&lt;div>
831+
&lt;p>one
832+
&lt;p>two
833+
&lt;p>three
834834
&lt;/div>
835835
</pre>
836836

@@ -843,8 +843,16 @@ <h3>Pseudo-algorithm</h3>
843843
<p>The actual column-count may be lower than the used column-count. Consider this example:
844844

845845
<pre>
846-
&lt;div style="width: 80em; height: 10em; columns: 20em; column-gap: 0; column-fill: auto;">
847-
foo
846+
div {
847+
width: 80em;
848+
height: 10em;
849+
columns: 20em;
850+
column-gap: 0;
851+
column-fill: auto;
852+
}
853+
854+
&lt;div>
855+
foo
848856
&lt;/div>
849857
</pre>
850858

0 commit comments

Comments
 (0)