The following code doesn't apply to the CSS classes with :hover
, but does with everything else. Anyway to make it work with CSS classes that have :hover
, or any pseudo-classes for the matter?
$('.nav-sidebar, .nav-sidebar:hover').css("border-color", "blue");