Skip to content

Commit c4720c9

Browse files
authored
Replace <section> with <article> in markup example
I left out classes as those are not really relevant and their choosing would be *opinionated*.
1 parent dc7d170 commit c4720c9

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

css-contain/Overview.bs

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -115,19 +115,20 @@ Strong Containment: the 'contain' property</h2>
115115

116116
<pre class='lang-css'>
117117
&lt;body>
118-
&lt;aside class='sidebar'>...&lt;/aside>
119-
&lt;article class='messages'>
120-
&lt;section class='message'>
118+
&lt;aside>...&lt;/aside>
119+
&lt;section>
120+
&lt;h2>Messages&lt;/h2>
121+
&lt;article>
121122
Lol, check out this dog: images.example.com/jsK3jkl
122-
&lt;/section>
123-
&lt;section class='message'>
123+
&lt;/article>
124+
&lt;article>
124125
I had a ham sandwich today. #goodtimes
125-
&lt;/section>
126-
&lt;section class='message'>
126+
&lt;/article>
127+
&lt;article>
127128
I have political opinions that you need to hear!
128-
&lt;/section>
129+
&lt;/article>
129130
130-
&lt;/article>
131+
&lt;/section>
131132
&lt;/body>
132133
</pre>
133134

0 commit comments

Comments
 (0)