Hi guys!
i've a problem with my overflow of 2 div's.
I want to be the product div holding a image, and the productinfo is a black cover. I want the productinfo div to position it down and later i want to use it with CSS3 transition to bring more info.
So with this code, at the moment, my 2nd div (productinfo) keeps visible when i move it down and I want it to be hidden. That why I use (overflow:hidden

in my product CSS style.
Can someone help me?
CSS:
Code:
.product {
width: 187px;
height: 187px;
margin-top: 10px;
margin-left: 10px;
margin-right: 10px;
float: left;
border: 1px solid #000;
overflow: hidden;
backrgound-image: ...;
}
.productinfo {
background-color: rgba(0,0,0,0.7);
border-radius: 11px;
width: 187px;
height: 187px;
border: 1px solid #000;
float: left;
top: 125px;
position: absolute;
}
and for my HTML
Code:
<div class="product">
<div class="productinfo"></div></div>
Thanks for all the help!!