Next people, I have a class and another class underneath it ... but the lower class needs to be invisible until the user hovers the top class, so I put opacity: 0, and tried to put a hover in the class above for when the user passes the mouse on it the class below would get opacity: 1, but it is not working, is it possible to do this or am I doing it wrong? here are the classes, I'm using the background so for testing in the browser.
.foto-funcionario{
background: blue;
height: 400px;
}
.contato-funcionario{
height: 75px;
background: green;
opacity: 0;
}
.foto-funcionario:hover .contato-funcionario{
opacity: 1;
}