Reputation: 6664
I have a child element and a parent element.
<div class="parent">
<div class="child" />
</div>
The child may be positioned outside of the parent or may be partially clipped by the parent. When this happens, I want to set it to display: none.
Is there a pure css way of accomplishing this?
Upvotes: 0
Views: 130
Reputation: 19358
You cannot perform that kind of test with css, it is not possible.
Upvotes: 3