[EDIT] I apologize for what may seem like a silly question. I appreciate your time and kindly ask if you could help by voting to close this question.
In my website built with Bootstrap, I have multiple tables and on one of them, I would like to display a pointer on hover. To achieve this, I copied the following code snippet from this resource:
.table-hover tbody tr:hover > td {
cursor: pointer;
}
This implementation works as intended. Now, I am trying to apply the pointer only to tables that belong to a specific class. For this purpose, I assigned a class to the table:
<form action="" method="post" class="show-pointer-form">
I then updated the CSS to target tables with the specified class:
.show-pointer-form .table-hover tbody tr:hover > td {
cursor: pointer;
}
Unfortunately, this modification seems to have caused the pointer not to show at all. Any guidance on where I might be going wrong in my approach would be greatly appreciated. Thank you for your assistance!