Skip to content

Commit fceafbc

Browse files
committed
set number orders
1 parent b6cd2b2 commit fceafbc

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

css.html

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -202,26 +202,26 @@ <h2>7. specificity </h2>
202202
</div>
203203

204204
<div id="mark">
205-
<h2>5. box model</h2>
205+
<h2>8. box model</h2>
206206
<p><strong>Question:</strong> What is css box model?</p>
207207
<p><strong>Answer:</strong> everything in a web page is a box where you can control size, position, background, etc. Each box/content area is optionally surrounded by padding, border and margin.</p>
208208
<p>ref: <a href="http://www.w3.org/TR/CSS21/box.html">W3: box model</a>, <a href="http://css-tricks.com/the-css-box-model/">css box model</a></p>
209209
</div>
210210
<div id="standard_quirks">
211-
<h2>14. shadow DOM</h2>
211+
<h2>9. shadow DOM</h2>
212212
<p><strong>Question:</strong> What is shadow DOM?</p>
213213
<p><strong>Answer:</strong> encapsulate part of a DOM. hide subtree. you can have same ID in different shadow DOM. Polymers uses it. This way your DOM becomes reusable and u dont have to do iframe. if interviewer is not happy with your answer give him the links and tell him to spend a weekend on reading.</p>
214214
<p>ref: <a href="http://www.w3.org/TR/shadow-dom/#introduction">W3: shadow-DOM</a>, <a href="http://www.html5rocks.com/en/tutorials/webcomponents/shadowdom/">html5rock: shadow DOM</a></p>
215215
</div>
216216
<div id="semantic_html">
217-
<h2>15. transition</h2>
217+
<h2>10. transition</h2>
218218
<p><strong>Question:</strong> What do u know about tranisition 3D?</p>
219219
<p><strong>Answer:</strong> .</p>
220220

221221
<p>ref: <a href="https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Using_CSS_transitions">css transition</a> <a href="http://www.html5rocks.com/en/tutorials/3d/css/">transition and 3D</a></p>
222222
</div>
223223
<div id="mtuli_lang">
224-
<h2>13. pre processor</h2>
224+
<h2>11. pre processor</h2>
225225
<p><strong>Question:</strong> What are the reasons to use preprocessor?</p>
226226
<p><strong>Answer:</strong> .</p>
227227

@@ -237,7 +237,7 @@ <h2>12. overflow</h2>
237237
<p>ref: <a href="http://css-tricks.com/the-css-overflow-property/">overflow</a> (read the link and add something from it)</p>
238238
</div>
239239
<div id="div_section_article">
240-
<h2>11. only</h2>
240+
<h2>13. only screen</h2>
241241
<p><strong>Question:</strong> What is the use of only?</p>
242242
<pre><code>
243243
&lt;style&gt;<br/> @media only screen and (max-width: 1024px) {<br/> margin: 0;<br/> }<br/>&lt;/style&gt;<br/>
@@ -247,7 +247,7 @@ <h2>11. only</h2>
247247
<p><strong>Answer:</strong> Browser's Viewport</p>
248248
</div>
249249
<div id="download_order">
250-
<h2>8. applied rule</h2>
250+
<h2>14. applied rule</h2>
251251
<p><strong>Question:</strong> What is the color of text sausage for he following rule?</p>
252252
<strong>html:</strong>
253253
<pre><code>
@@ -288,10 +288,8 @@ <h2>8. applied rule</h2>
288288
&lt;style&gt;<br/> #awesome .favorite:not(#awesome) .highlight {<br/> color: red;<br/> }<br/> #awesome .highlight:nth-of-type(1):nth-last-of-type(1) {<br/> color: blue;<br/> }<br/>&lt;/style&gt;<br/>
289289
</code></pre>
290290
<p><strong>Answer:</strong> red</p>
291-
ref: <a href="http://davidshariff.com/quiz/">David Shariff: quiz</a>
292291
</div>
293-
<div id="optional_tag">
294-
<h2>9. applied rule-2</h2>
292+
<div id="optional_tag">
295293
<p><strong>Question:</strong> What will happen to the position of #example?</p>
296294
<pre><code>
297295
&lt;style&gt;<br/> #example {<br/> margin-bottom: -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;
@@ -302,11 +300,11 @@ <h2>9. applied rule-2</h2>
302300
&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;
303301
</code></pre>
304302
<p><strong>Answer:</strong> #example will move 5px left.</p>
305-
<p>ref: <a href="">David Shariff</a> </p>
303+
ref: <a href="http://davidshariff.com/quiz/">David Shariff: quiz</a>
306304
</div>
307305

308306
<div id="div_span">
309-
<h2>10. download resources</h2>
307+
<h2>15. download resources</h2>
310308
<p><strong>Question:</strong> On page load, will mypic.jpg get downloaded by the browser?</p>
311309
<pre><code>
312310
&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;

0 commit comments

Comments
 (0)