Skip to content

Commit 48d6c79

Browse files
committed
added another applied rule example
1 parent 0002ccf commit 48d6c79

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

css.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,12 @@ <h2>8. applied rule</h2>
193193
&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>
195195
<p><strong>Answer:</strong> blue</p>
196-
196+
<br>
197+
<p><strong>Question:</strong> What would be color of text sausage?</p>
198+
<pre><code>
199+
&lt;style&gt;<br/> ul li {<br/> color: red;<br/> }<br/> #must-buy {<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;
200+
</code></pre>
201+
<p><strong>Answer:</strong> blue</p>
197202
ref: <a href="http://davidshariff.com/quiz/">David Shariff: quiz</a>
198203
</div>
199204
<!-- <div id="optional_tag">

0 commit comments

Comments
 (0)