2

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?

alt text

2 Answers 2

1

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?

Sign up to request clarification or add additional context in comments.

3 Comments

thanks for the reply, the new wrapper div has the same issue as before
Thanks for the post, your idea lead me into the right direction
@No problem! Glad it helped!!
0

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>

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.