mercredi 29 octobre 2014

issue with css important, when used with two class


Vote count:

0




I have a condition where we have below code. i want to overwrite tr:hover when class greyLock is used. how to implement it. i cannot remove background-color: #EEE !important; from tr:hover class.



tr:hover {
background-color: #EEE !important;
cursor: pointer;
}

.greyLock {
background-color: #7A7A7A !important;
cursor:default !important;
}


asked 15 secs ago







issue with css important, when used with two class

Aucun commentaire:

Enregistrer un commentaire