Reputation: 7365
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 this possible?
Upvotes: 2
Views: 123
Reputation: 40727
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?
Upvotes: 1
Reputation: 23
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>
Upvotes: 0