Skip to content

Commit 0002ccf

Browse files
committed
added one applied rule example
1 parent b1a506c commit 0002ccf

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

css.html

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -186,21 +186,16 @@ <h2>7. David Shariff </h2>
186186
<p><strong>Answer:</strong></p>
187187
<p>ref: <a href="http://davidshariff.com/quiz/">David Shariff: quiz</a></p>
188188
</div>
189-
<!-- <div id="download_order">
190-
<h2>8. download order</h2>
191-
<p><strong>Question:</strong> Does style1.css have to be downloaded and parsed before style2.css can be fetched?</p>
189+
<div id="download_order">
190+
<h2>8. applied rule</h2>
191+
<p><strong>Question:</strong> What is the color of text sausage?</p>
192192
<pre><code>
193-
&lt;head&gt;<br/> &lt;link href=&quot;style1.css&quot; rel=&quot;stylesheet&quot;&gt;<br/> &lt;link href=&quot;main2.css&quot; rel=&quot;stylesheet&quot;&gt;<br/>&lt;/head&gt;
193+
&lt;style&gt;<br/> ul {<br/> color: red;<br/> }<br/> li {<br/> color: blue;<br/> }<br/>&lt;/style&gt;<br/>&lt;ul class=&quot;shopping-list&quot; id=&quot;awesome&quot;&gt;<br/> &lt;li&gt;&lt;span&gt;Milk&lt;/span&gt;&lt;/li&gt;<br/> &lt;li class=&quot;favorite&quot; id=&quot;must-buy&quot;&gt;&lt;span class=&quot;highlight&quot;&gt;Sausage&lt;/span&gt;&lt;/li&gt;<br/>&lt;/ul&gt;
194194
</code></pre>
195-
<p><strong>Answer:</strong> No</p>
196-
<p><strong>Question:</strong> Does main2.css have to be downloaded and parsed before Paragraph 1 is rendered on the page?</p>
197-
<pre><code>
198-
&lt;head&gt;<br/> &lt;link href=&quot;main1.css&quot; rel=&quot;stylesheet&quot;&gt;<br/>&lt;/head&gt;<br/>&lt;body&gt;<br/> &lt;p&gt;Paragraph 1&lt;/p&gt;<br/> &lt;p&gt;Paragraph 2&lt;/p&gt;<br/> &lt;link href=&quot;main2.css&quot; rel=&quot;stylesheet&quot;&gt;<br/>&lt;/body&gt;
199-
</code></pre>
200-
<p><strong>Answer:</strong> yes</p>
195+
<p><strong>Answer:</strong> blue</p>
201196

202197
ref: <a href="http://davidshariff.com/quiz/">David Shariff: quiz</a>
203-
</div> -->
198+
</div>
204199
<!-- <div id="optional_tag">
205200
<h2>9. self closing tag</h2>
206201
<p><strong>Question:</strong> What are optional closing tag? and why would u use it?</p>

0 commit comments

Comments
 (0)