Short question:
Is there a way to remove hover effects?
Let's say I have this:
Code:
.divclass {
background:red;
}
.divclass:hover{
background:blue;
}
A red div that turns blue when you hover over it. But let's say I want there to be a type (attribute) that removes the hover for only some of the divclass classes: like so:
Code:
[type=nohover]:hover {
background:none;
}
But that doesn't work very well, I want it to be red. I could just put red in there, but that doesn't make it universal for any class or div.
How can I make it so that it it?
Thanks
-PG
|