I am working with a table structure like this:
<table>
<tr><td class="momdad"><i class='glyphicon glyphicon-cog'></i> Hello </td><td> Mom </td></tr>
<tr><td class="momdad"><i class='glyphicon glyphicon-cog'></i> Hello </td><td> Dad </td></tr>
</table>
However, the icons in the "momdad" class are currently hidden due to the following CSS:
i{
visibility: hidden;
}
I am wondering if it's possible to display the icon only when hovering over the "momdad" class. Would something like this work?
.momdad:hover{
i{
visibility: visible;
}
}
Thank you for your help.