Skip to content

[css-grid-1] Format, add indentation #3802

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 17, 2019
Merged
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
38 changes: 19 additions & 19 deletions css-grid-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -669,12 +669,12 @@ Grid Areas</h3>
<pre>
/* using the template syntax */
#grid {
display: grid;
grid-template-areas: ". a"
"b a"
". a";
grid-template-columns: 150px 1fr;
grid-template-rows: 50px 1fr 50px;
display: grid;
grid-template-areas: ". a"
"b a"
". a";
grid-template-columns: 150px 1fr;
grid-template-rows: 50px 1fr 50px;
}

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

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

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

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

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

Expand Down