I'm trying to select the other parent element of a table , but it is not rolling via CSS .
HTML
<table>
<tr>
<td>
<div>
<input type="radio" class="voo-radio" name="voo-radio">
</div>
<div>
<label>
<p>R$ 200,00</span></p>
<span class="small">Comprar agora</span>
</label>
</div>
</td>
</tr>
<tr>
<td>
<div class="exibe-detalhes">
Aqui vem o conteudo
</div>
</td>
</tr>
</table>
CSS
.exibir-detalhes {
display: none;
}
input[type="radio"] {
display: block;
}
input[type="radio"]:checked + .exibir-detalhes {
display: block;
}