Skip to content

Commit 153e58b

Browse files
committed
added read selector from css tricks
1 parent 9919670 commit 153e58b

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

css.html

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -556,17 +556,22 @@ <h3>download resources</h3>
556556
&lt;style&gt;<br/> #test1 {<br/> display: none;<br/> }<br/> #test2 {<br/> background-image: url('mypic.jpg');<br/> visibility: hidden;<br/> }<br/>&lt;/style&gt;<br/>&lt;div id=&quot;test1&quot;&gt;<br/> &lt;span id=&quot;test2&quot;&gt;&lt;/span&gt;<br/>&lt;/div&gt;
557557
</code></pre>
558558
<p><strong>Answer:</strong> No.</p>
559-
560-
ref: <a href="http://davidshariff.com/quiz/">David Shariff: quiz</a>, <a href="http://css-tricks.com/interview-questions-css/">very good: css tricks</a>
561-
</div>
562-
563-
564-
559+
<br>
560+
<h3>read selector</h3>
561+
<p><strong>Question:</strong> What will this selector do?</p>
562+
<pre><code>
563+
[role=navigation] &gt; ul a:not([href^=mailto]) {
565564

565+
}
566+
</code></pre>
567+
<p><strong>Answer:</strong> This selects anchor links that are not email links that are decedents of an unordered list that is the direct child of any element with a role attribute of 'navigation'. this answer copied from <a href="http://css-tricks.com/interview-questions-css/">css tricks</a></p>
568+
ref: <a href="http://davidshariff.com/quiz/">David Shariff: quiz</a>
569+
</div>
566570
<div>
567571

568572
<h2>Deleted Scenses</h2>
569573
<ul>
574+
<li>What are the differences among inline, inline-block, block element?</li>
570575
<li>Why reset css is useful? or how normalize.css works?</li>
571576
<li>How do you test cross-browser compatibility of your site?</li>
572577
<li>what is grid layout?</li>

0 commit comments

Comments
 (0)