html - Using exceptions for some objects in CSS -


i have css code tables:

.table-hover>tbody>tr:hover {     background-color: #f36f25;     color:#ffffff; } 

i want able make rows not use code on hover.

how can make exception rows in tables?

give them identify them (e.g. class attribute), use negation pseudo-class selector (:not()) filter them out:

<tr></tr> <tr class="notthisone"></tr> <tr></tr> 
.table-hover>tbody>tr:not(.notthisone):hover {     ... } 

Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -