0
I have a certain div that holds the boxes, and this div is with overflow:hidden
, I wanted to open another div with a margin
so negative bottom
how much top
, only then the suspended div did not appear in the way expected by overflow:hidden
, so I tried with js
didn’t work out too well either
<div id="box"><!--div com overflow-->
<div id="ler" class="ler">
<div class="suspensa">Conteudo hover 01</div>
</div>
<div id="ler" class="ler">
<div class="suspensa">Conteudo hover 02</div>
</div>
<div>
#box{
width:100%;
width:250px;
overflow:hidden;/*overflow*/
}
.ler{
width:150px;
height:250px;
background-color:#ebebeb;
}
.ler .suspensa{display:none;}
.ler:hover .suspensa{
display:block;
position:absolute;
bottom:-250px;/*margin negativa, a div suspensa nao mostra por causa do overflow na div box*/
width:250px;
height:150px;
background-color:#f4f4f4;
}
so it didn’t work out, so I tried with js
$("#ler").hover(function(){
(".suspensa").show();
});
someone knows some way to fix ?
Mayron your question is very confused man, detail better what you want to do.
– LeAndrade
@Leandrade gave a better explanation, what I need is that the suspended div appears normal even with the father div with overflow, what happens not only with css, understood ?
– goio