Changing background color on hover

I have an element with the data-id and all I want to do is change it’s color on hover. I have written this code but it’s not working any ideas folks?

[data-id="62a9902ddbc6230028d27b3d"]:hover{
  background-color: rgb(255,255,255);
}
1 Like

hey.
just add !important after the Css value to overwrite the existing style.

The code then should looks like this:

[data-id="62a9902ddbc6230028d27b3d"]:hover{
  background-color: rgb(255,255,255)!important;
}
1 Like

thank you thank you thank you!!