I know of the selector :not()
but it doesn't work, like tr:not(tr:first-child):hover
. I want to style the other tr
s but not the first one, because it holds the headings. How can I do this without using an id
or class
?
You can only use simple selectors in :not()
, try
tr:not(:first-child)
http://jsfiddle.net/mowglisanu/Sn7Uw/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With