I have an image and when you put your mouse over it I have another div that shows. I am trying to get it to fade in and out slower but everything I have tried so far has not worked. Any help would be greatly appreciated. Thanks
.image {
background-position: center;
background-repeat: no-repeat;
background-size: cover;
height: 100%;
width: 100%;
}
.overlay {
display: none;
}
.image:hover .overlay {
box-sizing: border-box;
display: block;
height: 100%;
left: 0;
-moz-box-sizing: border-box;
position: absolute;
top: 0;
-webkit-box-sizing: border-box;
width: 100%;
}