I was aking my self this question: What are the differences, if there are, about having the property cursor: pointer;
always or just in the :hover
?
Take this snippet:
.test{
cursor: pointer;
}
<span class="test">Hover me
and this other snippet:
.hoverme:hover{
cursor: pointer;
}
<span class="hoverme">Hover me</span>
both do the same thing: setting up the cursor icon. But is it really necessary to put this property (the cursor's property) in the hover
?
I mean, logically has more sense to put it in the hover
, but I don't get it.
Obviously if I have to change the background on hover this example answer itself. But what about my question?