Skip to content

Commit a0123f4

Browse files
Merge pull request #3802 from djy0/patch-2
[css-grid-1] Format, add indentation Co-authored-by: Eric Willigers <ewilligers@users.noreply.github.com>
2 parents 8d2c0b8 + 8fa4765 commit a0123f4

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

css-grid-1/Overview.bs

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -669,12 +669,12 @@ Grid Areas</h3>
669669
<pre>
670670
/* using the template syntax */
671671
#grid {
672-
display: grid;
673-
grid-template-areas: ". a"
674-
"b a"
675-
". a";
676-
grid-template-columns: 150px 1fr;
677-
grid-template-rows: 50px 1fr 50px;
672+
display: grid;
673+
grid-template-areas: ". a"
674+
"b a"
675+
". a";
676+
grid-template-columns: 150px 1fr;
677+
grid-template-rows: 50px 1fr 50px;
678678
}
679679

680680
#item1 { grid-area: a }
@@ -985,22 +985,22 @@ Grid Items</h2>
985985
<pre class="lang-markup">
986986
&lt;div style="display: grid">
987987

988-
&lt;!-- grid item: block child -->
989-
&lt;div id="item1">block&lt;/div>
988+
&lt;!-- grid item: block child -->
989+
&lt;div id="item1">block&lt;/div>
990990

991-
&lt;!-- grid item: floated element; floating is ignored -->
992-
&lt;div id="item2" style="float: left;">float&lt;/div>
991+
&lt;!-- grid item: floated element; floating is ignored -->
992+
&lt;div id="item2" style="float: left;">float&lt;/div>
993993

994-
&lt;!-- grid item: anonymous block box around inline content -->
995-
anonymous item 3
994+
&lt;!-- grid item: anonymous block box around inline content -->
995+
anonymous item 3
996996

997-
&lt;!-- grid item: inline child -->
998-
&lt;span>
999-
item 4
1000-
&lt;!-- grid items do not <a href="https://www.w3.org/TR/CSS2/visuren.html#anonymous-block-level">split</a> around blocks -->
1001-
&lt;q style="display: block" id=not-an-item>item 4&lt;/q>
1002-
item 4
1003-
&lt;/span>
997+
&lt;!-- grid item: inline child -->
998+
&lt;span>
999+
item 4
1000+
&lt;!-- grid items do not <a href="https://www.w3.org/TR/CSS2/visuren.html#anonymous-block-level">split</a> around blocks -->
1001+
&lt;q style="display: block" id=not-an-item>item 4&lt;/q>
1002+
item 4
1003+
&lt;/span>
10041004
&lt;/div>
10051005
</pre>
10061006

0 commit comments

Comments
 (0)