开发者

CSS Overflow Property Question

So I have a <div>. I would like to turn the css style overflow:visible on all content that pass through the top of the <div> and turn overflow:hidden on all content that is below the div. Is thi开发者_开发知识库s possible?

CSS Overflow Property Question


Why don't you wrap all that is below your <div> in another <div> and make this last one overflow:hidden.

Does this answer your question?

Good luck!

EDIT:

Do you meen something like this example?


Do you mean this

<style>
div { overflow:visible  } 
.Invisible { overflow:hidden } 
</style>

<div>123</div>
<div>123</div>
<div>123</div>
<div class="Invisible">Invisible</div>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜