0

How can I hide a table element which is above a div element when the div element is hovered (mouse over)

CSS only**

Thanks in advance

Bob Sanders
  • 41
  • 1
  • 6

1 Answers1

1

I edited your fiddle to work like you asked: Fiddle. (Note the class "overlap")

<div class="overlap" style="">
test
</div>

CSS:

.overlap {
    background-color:red; top:-65px; margin:2px; display:block;
}
.overlap:hover{
    top:-160px;
    padding-top:95px;
}
Appleshell
  • 6,518
  • 4
  • 41
  • 91