Skip to content

Commit 25d0843

Browse files
committed
added download resources for display none
1 parent e06db5a commit 25d0843

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

css.html

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -332,15 +332,18 @@ <h2>13. media queries</h2>
332332
<p><strong>Answer:</strong> Browser's Viewport</p>
333333
<p>ref: <a href="http://mobile.smashingmagazine.com/2010/07/19/how-to-use-css3-media-queries-to-create-a-mobile-version-of-your-website/">how to use media queries</a>, <a href="https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Media_queries">css media queries</a>, <a href="http://www.w3.org/TR/css3-mediaqueries/#media0">W3: media queries</a></p>
334334
</div>
335+
<div id="div_span">
336+
<h2>13. something</h2>
337+
</div>
335338
<div id="mtuli_lang">
336-
<h2>13. pre processor</h2>
339+
<h2>14. pre processor</h2>
337340
<p><strong>Question:</strong> Have you used any preprocessor? What are the reasons to use preprocessor?</p>
338-
<p><strong>Answer:</strong> .</p>
341+
<p><strong>Answer:</strong> learn sass or pass away.</p>
339342

340343
ref: <a href="http://www.frontendjournal.com/most-common-technical-interview-question-for-frontend-developers/">most common interview questions</a>
341344
</div>
342345
<div id="download_order">
343-
<h2>14. applied rule</h2>
346+
<h2>15. show & tell</h2>
344347
<p><strong>Question:</strong> What is the color of text sausage for he following rule?</p>
345348
<strong>html:</strong>
346349
<pre><code>
@@ -393,50 +396,47 @@ <h2>14. applied rule</h2>
393396
&lt;style&gt;<br/> #example {<br/> margin-left: -5px;<br/> }<br/>&lt;/style&gt;<br/>&lt;&lt;p id=&quot;example&quot;&gt;Hello&lt;/p&gt;p id=&quot;example&quot;&gt;Hello&lt;/p&gt;
394397
</code></pre>
395398
<p><strong>Answer:</strong> #example will move 5px left.</p>
396-
ref: <a href="http://davidshariff.com/quiz/">David Shariff: quiz</a>
397-
</div>
398-
399-
<div id="div_span">
400-
<h2>15. download resources</h2>
399+
<h3>download resources</h3>
400+
<p><strong>Question:</strong> On page load, will mypic.jpg get downloaded by the browser?.</p>
401+
<pre><code>
402+
&lt;style&gt;<br/> #test2 {<br/> background-image: url('mypic.jpg');<br/> display: none;<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;
403+
</code></pre>
404+
<p><strong>Answer:</strong> yes.</p>
401405
<p><strong>Question:</strong> On page load, will mypic.jpg get downloaded by the browser?</p>
402406
<pre><code>
403407
&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;
404408
</code></pre>
405409
<p><strong>Answer:</strong> No.</p>
406-
<p><strong>reason:</strong> .</p>
407-
<p>ref: <a href="">might add css question 18 in david shariff</a> </p>
410+
411+
ref: <a href="http://davidshariff.com/quiz/">David Shariff: quiz</a>
408412
</div>
409413

410414

415+
416+
411417
<div>
412418

413419
<h2>temporary list of questions</h2>
414420
<ul>
415421
<li>opacity <a href="http://www.youtube.com/watch?v=iYdfj0XxoMY">paul irish</a></li>
416-
<li>transition 3D</li>
417422
<li>text effect in css3</li>
418423
<li>reset css</li>
419424
<li>what is filter? why would u use it?</li>
420425
<li>what is conditional css</li>
421-
<li>@import/li>
422-
<li>sprites</li>
423-
<li>difference display:none and visibility:hidden</li>
426+
<li>@import</li>
427+
<li>sprites</li>
424428
<li>:after and :before</li>
425429
<li>pseudo classes</li>
426430
<li>vertical align center</li>
427431
</ul>
428432
<h2>References</h2>
429433
<ul>
430-
<li><a href=""></a></li>
431434
<li><a href="http://css-tricks.com/interview-questions-css/">very good: css tricks</a></li>
432435
<li><a href="https://github.com/johnpolacek/Front-end-Developer-Interview-Questions/blob/master/README.md">decent in github</a></li>
433436
<li><a href="https://github.com/darcyclarke/Front-end-Developer-Interview-Questions">just the list of questions</a></li>
434437
<li><a href="http://www.frontendjournal.com/most-common-technical-interview-question-for-frontend-developers/">some basic: float clear</a></li>
435438
<li><a href="http://www.codeproject.com/Articles/702051/40-important-HTML-5-Interview-questions-with-answe">40 important HTML interview questions (basic css question)</a></li>
436-
<li><a href="http://www.getallfix.com/2012/11/web-developer-interview-questions-ui-developer-interview-questions-most-common-web-developer-interview-questions/">some old css question</a></li>
437-
<li><a href=""></a></li>
438-
<li><a href=""></a></li>
439-
<li><a href=""></a></li>
439+
<li><a href="http://www.getallfix.com/2012/11/web-developer-interview-questions-ui-developer-interview-questions-most-common-web-developer-interview-questions/">some old css question</a></li>
440440
</ul>
441441

442442
</div>

0 commit comments

Comments
 (0)