Skip to content

Commit 9600395

Browse files
committed
added overflow hidden issue
1 parent 30933b1 commit 9600395

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

css.html

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -263,11 +263,14 @@ <h2>11. only</h2>
263263
</code></pre>
264264
<p><strong>Answer:</strong> Stops older browsers from parsing the remainder of the selector</p>
265265
</div>
266-
<!-- <div id="svg_canvas">
267-
<h2>12. svg vs canvas</h2>
268-
<p><strong>Question:</strong> What are the difference between svg and canvas?</p>
269-
<p><strong>Answer:</strong> <a href="http://www.sitepoint.com/how-to-choose-between-canvas-and-svg/">Read this one.</a> (I am tired of copy-pasting)</p>
270-
</div> -->
266+
<div id="svg_canvas">
267+
<h2>12. overflow</h2>
268+
<p><strong>Question:</strong> Does overflow: hidden create a new block formatting context?</p>
269+
<pre><code>
270+
&lt;style&gt;<br/> div {<br/> overflow: hidden;<br/> }<br/> p {<br/> float: left;<br/> }<br/>&lt;/style&gt;<br/>&lt;div&gt;<br/> &lt;p&gt;I am floated&lt;/p&gt;<br/> &lt;p&gt;So am I&lt;/p&gt;<br/>&lt;/div&gt;<br/>
271+
</code></pre>
272+
<p><strong>Answer:</strong> yes</p>
273+
</div>
271274
<!-- <div id="mtuli_lang">
272275
<h2>13. multiple languages</h2>
273276
<p><strong>Question:</strong> How to serve a page content in multiple languages?</p>

0 commit comments

Comments
 (0)