<div><span>hover me</span></div>
<style>
div, span {
  margin: 10px;
  border: 1px solid black;
}
div:hover {
  background-color: hsla(0, 100%, 50%, 0.2);
}
span:hover {
  background-color: hsla(120, 100%, 50%, 0.2);
}
</style>