Skip to content

Commit 537f6b2

Browse files
committed
added qyestion about rem
1 parent 9b1e84d commit 537f6b2

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

css.html

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -157,16 +157,19 @@ <h2>4. case sensitive</h2>
157157
</code></pre>
158158
</div>
159159
<div id="mark">
160-
<h2>5. margin inline</h2>
160+
<h2>5. margin/padding inline</h2>
161161
<p><strong>Question:</strong> Does margin-top or margin-bottom has effect on inline elemet?</p>
162162
<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+
<div id="scopped">
167+
<h2>6. rem</h2>
168+
<p><strong>Question:</strong>If you have a &lt;p&gt; 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:
163172
</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>
168-
ref <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style">MDN: style</a>
169-
</div> -->
170173
<!-- <div id="http_request">
171174
<h2>7. http requst </h2>
172175
<p><strong>Question:</strong> Does the following trigger http request at the time of page load?</p>

0 commit comments

Comments
 (0)