You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css.html
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -316,8 +316,9 @@ <h2>7. specificity </h2>
316
316
317
317
<divid="mark">
318
318
<h2>8. box model</h2>
319
-
<p><strong>Question:</strong> Why you should care aobut css box model?</p>
320
-
<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. When you set height and widht of an element, you set content height and width</p>
319
+
<p><strong>Question:</strong> What is css box model?</p>
320
+
<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. When you set height and widht of an element, you set content height and width.</p>
321
+
<p>Technically, height, width, padding and border are part of box model and margin is related to it.</p>
<p><strong>Question:</strong>Have you used any preprocessor? What are the reasons to use preprocessor?</p>
484
-
<p><strong>Answer:</strong>learn sass or pass away.</p>
484
+
<p><strong>Question:</strong> What are the reasons to use preprocessor?</p>
485
+
<p><strong>Answer:</strong>you write css in high level with some special syntax (declaring variable, nested syntax, mathmetical operations, etc.) and that is compiled to css. Preprocessor helps you to speed up develop, maintain, ensure best practices and also confirms concatenation, compression, etc.</p>
485
486
486
-
ref: <ahref="http://www.frontendjournal.com/most-common-technical-interview-question-for-frontend-developers/">most common interview questions</a>
487
+
ref: <ahref="http://css-tricks.com/musings-on-preprocessing/">css preprocessor</a>, <ahref="https://developers.google.com/chrome-developer-tools/docs/css-preprocessors">working with preprocessor</a>
0 commit comments