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
+10-7Lines changed: 10 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -157,16 +157,19 @@ <h2>4. case sensitive</h2>
157
157
</code></pre>
158
158
</div>
159
159
<divid="mark">
160
-
<h2>5. margin inline</h2>
160
+
<h2>5. margin/padding inline</h2>
161
161
<p><strong>Question:</strong> Does margin-top or margin-bottom has effect on inline elemet?</p>
162
162
<p><strong>Answer:</strong> no.</p>
163
+
<p><strong>Question:</strong> Does padding-top or padding-bottom has effect on inline elemet?</p>
164
+
<p><strong>Answer:</strong> no.</p>
165
+
</div>
166
+
<divid="scopped">
167
+
<h2>6. rem</h2>
168
+
<p><strong>Question:</strong>If you have a <p> element with font-size: 10rem, will the text be responsive when the user resizes / drags the browser window?</p>
169
+
<p><strong>Answer:</strong> no.</p>
170
+
Note: google it and read about it.
171
+
ref:
163
172
</div>
164
-
<!-- <div id="scopped">
165
-
<h2>6. scoped</h2>
166
-
<p><strong>Question:</strong>Can u apply css rule to a part of html document?</p>
167
-
<p><strong>Answer:</strong> yes. by using "scopped" in the style tag.</p>
0 commit comments